# HG changeset patch # User Madhusudan.C.S # Date 1295106601 -19800 # Node ID a052c9ffa27dda0312cc22cbeb66fcfd8bc9492a # Parent 49b58b9b10a1d388964cda053d8ac50d1be1c501 Removed this file since the utilities are no more used. diff -r 49b58b9b10a1 -r a052c9ffa27d 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 -