taskapp/admin.py
changeset 10 bf0cbea1bd12
parent 1 7818992cbf83
child 11 7c9fea7e28c8
equal deleted inserted replaced
4:12ca78ff63e4 10:bf0cbea1bd12
     1 from pytask.taskapp.models import Person,Task,Comment,Credit
       
     2 from django.contrib import admin
     1 from django.contrib import admin
     3 
     2 
     4 admin.site.register(Person)
     3 from pytask.taskapp.models.user import Profile
       
     4 from pytask.taskapp.models.task import Task
       
     5 from pytask.taskapp.models.credit import Credit
       
     6 from pytask.taskapp.models.comment import Comment
       
     7 
       
     8 admin.site.register(Profile)
     5 admin.site.register(Task)
     9 admin.site.register(Task)
     6 admin.site.register(Comment)
    10 admin.site.register(Comment)
     7 admin.site.register(Credit)
    11 admin.site.register(Credit)