author | Shantanu <shantanu@fossee.in> |
Sun, 24 Jan 2010 14:31:07 +0530 | |
changeset 8 | bbac03d978ce |
parent 2 | 2c1e89e4a5a2 |
child 9 | 45572d060ef6 |
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 |
|
8
bbac03d978ce
Edited admin.py for better view of registrations.
Shantanu <shantanu@fossee.in>
parents:
2
diff
changeset
|
4 |
class ParticipantAdmin(admin.modelAdmin): |
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 |