pytask/taskapp/admin.py
author nishanth
Sat, 30 Jan 2010 13:03:09 +0530
changeset 11 d28fcc644fbb
parent 4 a9c458c7782a
child 15 c6038cbf8a39
permissions -rw-r--r--
implemented create task view which needed task.py in events. added a method show_msg to views/user.py and used it in logoff view.
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)