pytask/taskapp/forms/task.py
changeset 15 c6038cbf8a39
parent 14 f2623fb8041a
child 18 293692eb8f06
--- a/pytask/taskapp/forms/task.py	Mon Feb 01 11:10:29 2010 +0530
+++ b/pytask/taskapp/forms/task.py	Mon Feb 01 11:41:26 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']