taskapp/admin.py
author nishanth
Thu, 04 Mar 2010 14:50:24 +0530
changeset 195 2717c8533322
parent 153 925af1b4ee65
child 205 0c317f68df49
permissions -rw-r--r--
if a user claims a task his unreplied mentor requests will be made invalid.
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
153
925af1b4ee65 ditchaxed credit model.
nishanth
parents: 58
diff changeset
     3
from pytask.taskapp.models import Profile, Task, Comment, Claim, 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)
22
36d3173ab7f9 addded link to view claims in 'view task' page .
nishanth
parents: 11
diff changeset
     8
admin.site.register(Claim)
57
67e0d0a915e3 added utilities for creating notification.
anoop
parents: 22
diff changeset
     9
admin.site.register(Notification)
58
e0ec1901dfce changed request model, added create_request utility.
anoop
parents: 57
diff changeset
    10
admin.site.register(Request)