--- 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']