From: Caleb Forbes Davis V Date: Tue, 26 Jul 2011 04:48:51 +0000 (-0500) Subject: on submission, use inline error messaging instead of message queue X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=97e4498c10c803c9d239011d4c48efef52673ec3;p=mediagoblin.git on submission, use inline error messaging instead of message queue - the function that converts the user's tag string into a list of tags now accepts a string, but the media submit view was still submitting the request object, like we were going to add any errors to the session. Now the submit view passes the tag string --- diff --git a/mediagoblin/submit/views.py b/mediagoblin/submit/views.py index bda77b1d..edde4400 100644 --- a/mediagoblin/submit/views.py +++ b/mediagoblin/submit/views.py @@ -62,7 +62,7 @@ def submit_start(request): entry['uploader'] = request.user['_id'] # Process the user's folksonomy "tags" - entry['tags'] = convert_to_tag_list(request) + entry['tags'] = convert_to_tag_list(request.POST.get('tags')) # Save, just so we can get the entry id for the sake of using # it to generate the file path