Removed this file since the utilities are no more used.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Sat, 15 Jan 2011 21:20:01 +0530
changeset 414 a052c9ffa27d
parent 413 49b58b9b10a1
child 415 c631194cec2a
Removed this file since the utilities are no more used.
pytask/taskapp/utils.py
--- a/pytask/taskapp/utils.py	Sat Jan 15 04:18:57 2011 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-from pytask.taskapp.models import Task, TextBook
-from django.http import Http404
-
-def getTask(tid):
-
-    try:
-        task = Task.objects.get(uniq_key=tid)
-        return task
-    except Task.DoesNotExist:
-        raise Http404
-
-def getTextBook(tid):
-
-    try:
-        task = TextBook.objects.get(uniq_key=tid)
-        return task
-    except TextBook.DoesNotExist:
-        raise Http404
-