author | Shantanu <shantanu@fossee.in> |
Mon, 25 Jan 2010 01:20:43 +0530 | |
changeset 12 | 10d86ada90c2 |
parent 11 | ae643a9734f3 |
permissions | -rw-r--r-- |
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 | 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 | 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 |