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/views.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/views.py')
-rw-r--r-- | mediagoblin/edit/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/edit/views.py b/mediagoblin/edit/views.py index f5e7f454..0c4fd735 100644 --- a/mediagoblin/edit/views.py +++ b/mediagoblin/edit/views.py @@ -62,7 +62,7 @@ def edit_media(request, media): media['description'])) media['slug'] = request.POST['slug'] - media['tags'] = split(request.POST['tags']) + media['tags'] = request.POST['tags'].split(TAGS_DELIMITER) media.save() return redirect(request, "mediagoblin.user_pages.media_home", |