aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit
diff options
context:
space:
mode:
authorCaleb Forbes Davis V <caldavis@gmail.com>2011-07-12 23:58:25 -0500
committerCaleb Forbes Davis V <caldavis@gmail.com>2011-07-13 00:03:49 -0500
commitcc7ff3c50513ae169abab196f32de97af30e6744 (patch)
tree4d5a707f97b5412c026e2438d52b240c3dfd40d5 /mediagoblin/edit
parent4451219560a4d991a8c4d04e9dffa99fb092bd5b (diff)
downloadmediagoblin-cc7ff3c50513ae169abab196f32de97af30e6744.tar.lz
mediagoblin-cc7ff3c50513ae169abab196f32de97af30e6744.tar.xz
mediagoblin-cc7ff3c50513ae169abab196f32de97af30e6744.zip
enforces maximum tag length with (in)appropriate messaging
Diffstat (limited to 'mediagoblin/edit')
-rw-r--r--mediagoblin/edit/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/edit/views.py b/mediagoblin/edit/views.py
index 0432024e..df0a0d52 100644
--- a/mediagoblin/edit/views.py
+++ b/mediagoblin/edit/views.py
@@ -63,7 +63,9 @@ def edit_media(request, media):
media['description']))
media['slug'] = request.POST['slug']
- media['tags'] = convert_to_tag_list(request.POST['tags'])
+
+ # Process the user's folksonomy "tags"
+ media['tags'] = convert_to_tag_list(request)
media.save()
return redirect(request, "mediagoblin.user_pages.media_home",