summaryrefslogtreecommitdiff
path: root/website/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/admin.py')
-rw-r--r--website/admin.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/website/admin.py b/website/admin.py
index 8c38f3f..d60a729 100644
--- a/website/admin.py
+++ b/website/admin.py
@@ -1,3 +1,11 @@
from django.contrib import admin
+from .models import CFP, RegistrationDetail
-# Register your models here.
+class CFPAdmin(admin.ModelAdmin):
+ list_display = ['start_date','end_date','date_of_announcement']
+
+class RegistrationDetailAdmin(admin.ModelAdmin):
+ list_display = ['registration_type', 'start_date', 'end_date', 'registration_ticket','registration_description']
+
+admin.site.register(CFP, CFPAdmin)
+admin.site.register(RegistrationDetail, RegistrationDetailAdmin)