Chapters must be created from the Task model.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Sun, 30 Jan 2011 18:55:15 +0530
changeset 525 d6ad9c1a571b
parent 524 b942d6e3d204
child 526 9c0c88d129dd
Chapters must be created from the Task model. Textbook model don't exist anymore.
pytask/taskapp/forms.py
--- a/pytask/taskapp/forms.py	Sun Jan 30 18:51:08 2011 +0530
+++ b/pytask/taskapp/forms.py	Sun Jan 30 18:55:15 2011 +0530
@@ -89,7 +89,7 @@
 class CreateTextbookForm(forms.ModelForm):
 
     class Meta:
-        model = TextBook
+        model = Task
         fields = ['name', 'chapters', 'tags_field']
 
 class EditTextbookForm(forms.ModelForm):