summaryrefslogtreecommitdiff
path: root/website/admin.py
diff options
context:
space:
mode:
authorSashi202019-09-09 15:40:24 +0530
committerSashi202019-09-09 15:40:24 +0530
commitd84267b8555a09e1500f839835439142d6c6fc95 (patch)
treea19547706eae7ae89d46503871edd3a2eb50e1b6 /website/admin.py
parent4469fbf4dd07e870c1f136d9d190fb8d13167780 (diff)
downloadSciPy2019-d84267b8555a09e1500f839835439142d6c6fc95.tar.gz
SciPy2019-d84267b8555a09e1500f839835439142d6c6fc95.tar.bz2
SciPy2019-d84267b8555a09e1500f839835439142d6c6fc95.zip
Update keynote speaker details, poster
Diffstat (limited to 'website/admin.py')
-rw-r--r--website/admin.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/website/admin.py b/website/admin.py
index d60a729..85a4b7e 100644
--- a/website/admin.py
+++ b/website/admin.py
@@ -1,5 +1,5 @@
from django.contrib import admin
-from .models import CFP, RegistrationDetail
+from .models import CFP, RegistrationDetail, Proposal
class CFPAdmin(admin.ModelAdmin):
list_display = ['start_date','end_date','date_of_announcement']
@@ -7,5 +7,9 @@ class CFPAdmin(admin.ModelAdmin):
class RegistrationDetailAdmin(admin.ModelAdmin):
list_display = ['registration_type', 'start_date', 'end_date', 'registration_ticket','registration_description']
+class ProposalAdmin(admin.ModelAdmin):
+ list_display = ['title', 'email', 'phone']
+
admin.site.register(CFP, CFPAdmin)
admin.site.register(RegistrationDetail, RegistrationDetailAdmin)
+admin.site.register(Proposal, ProposalAdmin)