# HG changeset patch # User Nishanth Amuluru # Date 1294725614 -19800 # Node ID 40f1ef7a46d8083b0c71b94b28042f2b26d5b29f # Parent cdd8026ee60e8a5cfe3b2336c2606367ae607695 added admin files diff -r cdd8026ee60e -r 40f1ef7a46d8 pytask/profile/admin.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytask/profile/admin.py Tue Jan 11 11:30:14 2011 +0530 @@ -0,0 +1,5 @@ +from django.contrib import admin + +from pytask.profile.models import Profile + +admin.site.register(Profile) diff -r cdd8026ee60e -r 40f1ef7a46d8 pytask/taskapp/admin.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytask/taskapp/admin.py Tue Jan 11 11:30:14 2011 +0530 @@ -0,0 +1,13 @@ +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) diff -r cdd8026ee60e -r 40f1ef7a46d8 pytask/taskapp/models.py --- a/pytask/taskapp/models.py Tue Jan 11 01:03:04 2011 +0530 +++ b/pytask/taskapp/models.py Tue Jan 11 11:30:14 2011 +0530 @@ -112,7 +112,7 @@ comment_datetime = models.DateTimeField() is_deleted = models.BooleanField(default=False) -class PyntRequests(models.Model): +class PyntRequest(models.Model): uniq_key = models.CharField(max_length = 10, unique = True) task = models.ForeignKey(Task, related_name = "pynt_requests")