From ba8bc60032ebc5b5241226048957ae7db00ef7c0 Mon Sep 17 00:00:00 2001 From: keannu125 Date: Sat, 22 Apr 2023 14:51:28 +0800 Subject: [PATCH] Register schedules in admin.py --- infotech/schedules/admin.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/infotech/schedules/admin.py b/infotech/schedules/admin.py index ea5d68b..0aecde0 100644 --- a/infotech/schedules/admin.py +++ b/infotech/schedules/admin.py @@ -1,3 +1,6 @@ from django.contrib import admin - +from .models import Schedule, StudentSchedule # Register your models here. + +admin.register(Schedule) +admin.register(StudentSchedule)