upload/admin.py
author Shantanu <shantanu@fossee.in>
Mon, 25 Jan 2010 16:13:40 +0530
changeset 20 5f5d6bf693af
parent 12 10d86ada90c2
permissions -rw-r--r--
turned debug=true it is sending mails.
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):
11
ae643a9734f3 AArrh more typos in admin block.
Shantanu <shantanu@fossee.in>
parents: 10
diff changeset
     5
    list_display=('name','email','phonenumber',
10
ddcbd6929a44 Corrected admin.py typo.
Shantanu <shantanu@fossee.in>
parents: 9
diff changeset
     6
                  'discipline','category','affiliation',
11
ae643a9734f3 AArrh more typos in admin block.
Shantanu <shantanu@fossee.in>
parents: 10
diff changeset
     7
                  'workshop','tools')
1
a370c5796d08 Initialized the registration application.
Shantanu <shantanu@fossee.in>
parents:
diff changeset
     8
11
ae643a9734f3 AArrh more typos in admin block.
Shantanu <shantanu@fossee.in>
parents: 10
diff changeset
     9
admin.site.register(Participant, ParticipantAdmin)
8
bbac03d978ce Edited admin.py for better view of registrations.
Shantanu <shantanu@fossee.in>
parents: 2
diff changeset
    10
12
10d86ada90c2 Added custom view for looking at registrants yAy.
Shantanu <shantanu@fossee.in>
parents: 11
diff changeset
    11