blob: 85a4b7e2fe4c36606720a2db01ab64bb1f55d6fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from django.contrib import admin
from .models import CFP, RegistrationDetail, Proposal
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']
class ProposalAdmin(admin.ModelAdmin):
list_display = ['title', 'email', 'phone']
admin.site.register(CFP, CFPAdmin)
admin.site.register(RegistrationDetail, RegistrationDetailAdmin)
admin.site.register(Proposal, ProposalAdmin)
|