pytask/taskapp/admin.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 01 Feb 2011 02:14:28 +0530
changeset 538 478c7fc9a223
parent 375 40f1ef7a46d8
permissions -rw-r--r--
Create a package for taskapp views and break the views into task and textbook. Now all the view functions common to any two entities along with all tasks related views sit in task module. Even if the view is not directly related to the task entity, it sits in the task module since task is the base for every other entity in the application.

from django.contrib import admin

from pytask.taskapp.models import Task, TaskComment, TaskClaim,\
                                  WorkReport, ReportComment, PyntRequest,\
                                  TextBook

admin.site.register(Task)
admin.site.register(TaskComment)
admin.site.register(TextBook)
admin.site.register(WorkReport)
admin.site.register(TaskClaim)
admin.site.register(ReportComment)
admin.site.register(PyntRequest)