pytask/taskapp/admin.py
author nishanth
Sat, 30 Jan 2010 13:10:11 +0530
changeset 13 4da58abdf6ff
parent 4 a9c458c7782a
child 15 c6038cbf8a39
permissions -rw-r--r--
renamed templates/error.html to templates/show_msg.html and made changes accordingly in views/user.
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)