aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Forbes Davis V <caldavis@gmail.com>2011-07-25 23:48:51 -0500
committerCaleb Forbes Davis V <caldavis@gmail.com>2011-07-26 00:00:50 -0500
commit97e4498c10c803c9d239011d4c48efef52673ec3 (patch)
tree8fdb164e9e9959fea2ff3710ff47e813746ae294
parent10d7496da2f147a30a70304e8be3a579b15fd093 (diff)
downloadmediagoblin-97e4498c10c803c9d239011d4c48efef52673ec3.tar.lz
mediagoblin-97e4498c10c803c9d239011d4c48efef52673ec3.tar.xz
mediagoblin-97e4498c10c803c9d239011d4c48efef52673ec3.zip
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
-rw-r--r--mediagoblin/submit/views.py2
1 files changed, 1 insertions, 1 deletions
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