From 6dcadff05674caa07773759dc0b3dcfba83cb893 Mon Sep 17 00:00:00 2001 From: Drew Larson Date: Wed, 25 May 2016 18:57:17 -0600 Subject: [PATCH] Add admin views. --- bikeshop_project/core/admin.py | 2 ++ bikeshop_project/registration/admin.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/bikeshop_project/core/admin.py b/bikeshop_project/core/admin.py index 8c38f3f..cedce61 100644 --- a/bikeshop_project/core/admin.py +++ b/bikeshop_project/core/admin.py @@ -1,3 +1,5 @@ from django.contrib import admin +from .models import Membership, Payment # Register your models here. +admin.site.register([Membership, Payment]) diff --git a/bikeshop_project/registration/admin.py b/bikeshop_project/registration/admin.py index 8c38f3f..388b91c 100644 --- a/bikeshop_project/registration/admin.py +++ b/bikeshop_project/registration/admin.py @@ -1,3 +1,6 @@ from django.contrib import admin +from .models import Member + # Register your models here. +admin.site.register(Member) \ No newline at end of file