diff options
author | Sashi20 | 2019-09-03 15:38:47 +0530 |
---|---|---|
committer | GitHub | 2019-09-03 15:38:47 +0530 |
commit | 463e9487c6ee11146a6a8fb3689650af663dfe51 (patch) | |
tree | ae54d42aeba719e5c5f92eb0969b67b759c295da /website/admin.py | |
parent | d0ff5d11f935ba5217c1be6357d44891b6e22b3c (diff) | |
parent | ba6097725b5154390e85a0f627b4014f95d6f3fa (diff) | |
download | SciPy2019-463e9487c6ee11146a6a8fb3689650af663dfe51.tar.gz SciPy2019-463e9487c6ee11146a6a8fb3689650af663dfe51.tar.bz2 SciPy2019-463e9487c6ee11146a6a8fb3689650af663dfe51.zip |
Merge pull request #3 from Sashi20/development
Add images and modify cfp templates
Diffstat (limited to 'website/admin.py')
-rw-r--r-- | website/admin.py | 10 |
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) |