diff options
author | Madhusudan.C.S | 2011-06-10 16:38:33 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2011-06-10 16:38:33 +0530 |
commit | b2732dbb8e697efd28aaee30634a83e6235305d1 (patch) | |
tree | 3f704ba5198c81ad0d7bd4d1012417681df4c761 | |
parent | b43a84670bace06e5c03e41b756db953ffed6d6b (diff) | |
download | pytask-b2732dbb8e697efd28aaee30634a83e6235305d1.tar.gz pytask-b2732dbb8e697efd28aaee30634a83e6235305d1.tar.bz2 pytask-b2732dbb8e697efd28aaee30634a83e6235305d1.zip |
For the textbook forms, use the textbook model fields to render the form.
-rw-r--r-- | pytask/taskapp/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pytask/taskapp/forms.py b/pytask/taskapp/forms.py index 0963807..82ad7fb 100644 --- a/pytask/taskapp/forms.py +++ b/pytask/taskapp/forms.py @@ -148,7 +148,7 @@ class CreateTextbookForm(forms.ModelForm): class Meta: model = Task - fields = ['name', 'chapters', 'tags_field'] + fields = ['title', 'desc', 'pynts', 'tags_field'] def clean_tags_field(self): """Clean the tags field to contain only allowed characters. |