taskapp/forms/task.py
changeset 22 36d3173ab7f9
parent 21 c28774fe7ffd
child 25 c0e4fc8b8b5b
--- a/taskapp/forms/task.py	Thu Feb 04 22:37:15 2010 +0530
+++ b/taskapp/forms/task.py	Thu Feb 04 23:10:30 2010 +0530
@@ -1,5 +1,5 @@
 from django import forms
-from pytask.taskapp.models import Task
+from pytask.taskapp.models import Task, Claim
 
 class TaskCreateForm(forms.ModelForm):
     class Meta:
@@ -15,7 +15,7 @@
     form = myform(instance=instance) if instance else myform()
     return form
 
-def ClaimTaskForm(models.ModelForm):
+class ClaimTaskForm(forms.ModelForm):
     class Meta:
         model = Claim
         fields = ['message']