diff options
author | Caleb Forbes Davis V <caldavis@gmail.com> | 2011-07-12 23:58:25 -0500 |
---|---|---|
committer | Caleb Forbes Davis V <caldavis@gmail.com> | 2011-07-13 00:03:49 -0500 |
commit | cc7ff3c50513ae169abab196f32de97af30e6744 (patch) | |
tree | 4d5a707f97b5412c026e2438d52b240c3dfd40d5 /mediagoblin/submit/views.py | |
parent | 4451219560a4d991a8c4d04e9dffa99fb092bd5b (diff) | |
download | mediagoblin-cc7ff3c50513ae169abab196f32de97af30e6744.tar.lz mediagoblin-cc7ff3c50513ae169abab196f32de97af30e6744.tar.xz mediagoblin-cc7ff3c50513ae169abab196f32de97af30e6744.zip |
enforces maximum tag length with (in)appropriate messaging
Diffstat (limited to 'mediagoblin/submit/views.py')
-rw-r--r-- | mediagoblin/submit/views.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/submit/views.py b/mediagoblin/submit/views.py index 46ec4cea..bda77b1d 100644 --- a/mediagoblin/submit/views.py +++ b/mediagoblin/submit/views.py @@ -60,7 +60,9 @@ def submit_start(request): entry['media_type'] = u'image' # heh entry['uploader'] = request.user['_id'] - entry['tags'] = convert_to_tag_list(request.POST.get('tags')) + + # Process the user's folksonomy "tags" + entry['tags'] = convert_to_tag_list(request) # Save, just so we can get the entry id for the sake of using # it to generate the file path |