taskapp/admin.py
author anoop
Mon, 08 Mar 2010 16:17:41 +0530
changeset 208 ba839dd7c7d7
parent 205 0c317f68df49
permissions -rw-r--r--
admins and managers can see full profile of user, including email, address and phone number.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
7818992cbf83 Created taskapp and added data to models.py and edited settings.py to make it usable in admin interface.
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     1
from django.contrib import admin
7818992cbf83 Created taskapp and added data to models.py and edited settings.py to make it usable in admin interface.
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     2
205
0c317f68df49 ditchaxed the claims model.
nishanth
parents: 153
diff changeset
     3
from pytask.taskapp.models import Profile, Task, Comment, Notification, Request
10
bf0cbea1bd12 removed views.py and made it a package. added auth_profile to settings.py
nishanth
parents: 1
diff changeset
     4
bf0cbea1bd12 removed views.py and made it a package. added auth_profile to settings.py
nishanth
parents: 1
diff changeset
     5
admin.site.register(Profile)
1
7818992cbf83 Created taskapp and added data to models.py and edited settings.py to make it usable in admin interface.
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     6
admin.site.register(Task)
7818992cbf83 Created taskapp and added data to models.py and edited settings.py to make it usable in admin interface.
Nishanth <nishanth@fossee.in>
parents:
diff changeset
     7
admin.site.register(Comment)
57
67e0d0a915e3 added utilities for creating notification.
anoop
parents: 22
diff changeset
     8
admin.site.register(Notification)
58
e0ec1901dfce changed request model, added create_request utility.
anoop
parents: 57
diff changeset
     9
admin.site.register(Request)