taskapp/admin.py
author nishanth
Thu, 04 Feb 2010 22:06:22 +0530
changeset 11 7c9fea7e28c8
parent 10 bf0cbea1bd12
child 22 36d3173ab7f9
permissions -rw-r--r--
corrected admin.py
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
11
7c9fea7e28c8 corrected admin.py
nishanth
parents: 10
diff changeset
     3
from pytask.taskapp.models import Profile, Task, Credit, Comment
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)
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
     8
admin.site.register(Credit)