diff options
author | Caleb Forbes Davis V <caldavis@gmail.com> | 2011-07-12 20:43:16 -0500 |
---|---|---|
committer | Caleb Forbes Davis V <caldavis@gmail.com> | 2011-07-12 20:43:16 -0500 |
commit | 93e3468a2af92a623a659628a20605025cea9ca7 (patch) | |
tree | b0d23392df5b1111eb1c9f80c9fd174334f3e284 /mediagoblin/edit/forms.py | |
parent | cdf538bd6163a47b4c4a6326c943b6deaf2c495a (diff) | |
download | mediagoblin-93e3468a2af92a623a659628a20605025cea9ca7.tar.lz mediagoblin-93e3468a2af92a623a659628a20605025cea9ca7.tar.xz mediagoblin-93e3468a2af92a623a659628a20605025cea9ca7.zip |
displays the tags on edit correctly now
-before it was running the tags field through the submit filter.
that was kind of dumb
-removes the filter function from the edit form
-adds unicode syntax in the filter function
-uses split correctly when saving the edited tags to mongodb
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r-- | mediagoblin/edit/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py index 5e3aab96..e13cfaa9 100644 --- a/mediagoblin/edit/forms.py +++ b/mediagoblin/edit/forms.py @@ -27,7 +27,7 @@ class EditForm(wtforms.Form): slug = wtforms.TextField( 'Slug') description = wtforms.TextAreaField('Description of this work') - tags = wtforms.TextField('Tags', filters=[convert_to_tag_list]) + tags = wtforms.TextField('Tags') class EditProfileForm(wtforms.Form): bio = wtforms.TextAreaField('Bio', |