Edited admin.py for better view of registrations.
authorShantanu <shantanu@fossee.in>
Sun, 24 Jan 2010 14:31:07 +0530
changeset 8 bbac03d978ce
parent 7 fdee9855406f
child 9 45572d060ef6
Edited admin.py for better view of registrations.
upload/admin.py
--- a/upload/admin.py	Wed Jan 20 17:15:55 2010 +0530
+++ b/upload/admin.py	Sun Jan 24 14:31:07 2010 +0530
@@ -1,5 +1,9 @@
 from django.contrib import admin
 from ws_reg.upload.models import Participant
 
-admin.site.register(Participant)
+class ParticipantAdmin(admin.modelAdmin):
+    list_display=('name','email','phonenumber','discipline',
+                  'category','affiliation','workshop','tools')	
 
+admin.site.register(ParticipantAdmin)
+