diff options
author | Sashi20 | 2019-11-08 16:26:44 +0530 |
---|---|---|
committer | Sashi20 | 2019-11-08 16:26:44 +0530 |
commit | 3b63ed9f1701820ddb9530265bfc8cf93fc482e3 (patch) | |
tree | 5ab9fe9dd92f62c939a27ec29f684767480e7a6a /website/admin.py | |
parent | bcab4c61c2f5c6ce674d11256e90098bdc00d669 (diff) | |
download | SciPy2019-3b63ed9f1701820ddb9530265bfc8cf93fc482e3.tar.gz SciPy2019-3b63ed9f1701820ddb9530265bfc8cf93fc482e3.tar.bz2 SciPy2019-3b63ed9f1701820ddb9530265bfc8cf93fc482e3.zip |
Add model to display schedule details
Diffstat (limited to 'website/admin.py')
-rw-r--r-- | website/admin.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/website/admin.py b/website/admin.py index 85a4b7e..119dc07 100644 --- a/website/admin.py +++ b/website/admin.py @@ -1,5 +1,5 @@ from django.contrib import admin -from .models import CFP, RegistrationDetail, Proposal +from .models import CFP, RegistrationDetail, Proposal, TentativeSchedule class CFPAdmin(admin.ModelAdmin): list_display = ['start_date','end_date','date_of_announcement'] @@ -10,6 +10,11 @@ class RegistrationDetailAdmin(admin.ModelAdmin): class ProposalAdmin(admin.ModelAdmin): list_display = ['title', 'email', 'phone'] +class TentativeScheduleAdmin(admin.ModelAdmin): + list_display = ['schedule_table'] + + admin.site.register(CFP, CFPAdmin) admin.site.register(RegistrationDetail, RegistrationDetailAdmin) admin.site.register(Proposal, ProposalAdmin) +admin.site.register(TentativeSchedule, TentativeScheduleAdmin) |