upload/admin.py
author Shantanu <shantanu@fossee.in>
Sun, 24 Jan 2010 14:34:24 +0530
changeset 9 45572d060ef6
parent 8 bbac03d978ce
child 10 ddcbd6929a44
permissions -rw-r--r--
Corrected a typo in admin.py.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
a370c5796d08 Initialized the registration application.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     1
from django.contrib import admin
2
2c1e89e4a5a2 Corrected name of project to ws_reg.
Shantanu <shantanu@fossee.in>
parents: 1
diff changeset
     2
from ws_reg.upload.models import Participant
1
a370c5796d08 Initialized the registration application.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     3
9
45572d060ef6 Corrected a typo in admin.py.
Shantanu <shantanu@fossee.in>
parents: 8
diff changeset
     4
class ParticipantAdmin(admin.ModelAdmin):
8
bbac03d978ce Edited admin.py for better view of registrations.
Shantanu <shantanu@fossee.in>
parents: 2
diff changeset
     5
    list_display=('name','email','phonenumber','discipline',
bbac03d978ce Edited admin.py for better view of registrations.
Shantanu <shantanu@fossee.in>
parents: 2
diff changeset
     6
                  'category','affiliation','workshop','tools')	
1
a370c5796d08 Initialized the registration application.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     7
8
bbac03d978ce Edited admin.py for better view of registrations.
Shantanu <shantanu@fossee.in>
parents: 2
diff changeset
     8
admin.site.register(ParticipantAdmin)
bbac03d978ce Edited admin.py for better view of registrations.
Shantanu <shantanu@fossee.in>
parents: 2
diff changeset
     9