pytask/taskapp/admin.py
author nishanth
Fri, 29 Jan 2010 23:34:19 +0530
changeset 10 c2001db39937
parent 4 a9c458c7782a
child 15 c6038cbf8a39
permissions -rw-r--r--
renamed users.py to user.py and tasks to task in views folder and updated urls.py accordingly .
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
3db830ff66ee added an app called taskapp and created the models.
nishanth
parents:
diff changeset
     1
from django.contrib import admin
3db830ff66ee added an app called taskapp and created the models.
nishanth
parents:
diff changeset
     2
4
a9c458c7782a corrected admin.py in taskapp.
nishanth
parents: 2
diff changeset
     3
from pytask.taskapp.models import Profile, Task, Credit, Comment
2
3db830ff66ee added an app called taskapp and created the models.
nishanth
parents:
diff changeset
     4
3db830ff66ee added an app called taskapp and created the models.
nishanth
parents:
diff changeset
     5
admin.site.register(Profile)
3db830ff66ee added an app called taskapp and created the models.
nishanth
parents:
diff changeset
     6
admin.site.register(Task)
3db830ff66ee added an app called taskapp and created the models.
nishanth
parents:
diff changeset
     7
admin.site.register(Comment)
3db830ff66ee added an app called taskapp and created the models.
nishanth
parents:
diff changeset
     8
admin.site.register(Credit)