diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-11-14 13:53:07 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2013-11-14 13:53:07 -0600 |
commit | c802c41af49edf21fd30ab2663fcc1eae912318a (patch) | |
tree | 9ea9d7ee01bce179ff35b94d649d7e799e182cab | |
parent | a8413d8b82e35430c592032bb8bc78277d45bba4 (diff) | |
download | mediagoblin-c802c41af49edf21fd30ab2663fcc1eae912318a.tar.lz mediagoblin-c802c41af49edf21fd30ab2663fcc1eae912318a.tar.xz mediagoblin-c802c41af49edf21fd30ab2663fcc1eae912318a.zip |
Pass in request.urlgen to submit_media so it can update the feed_url stuff
This commit sponsored by Jesus Alberto Rodriguez Chavez. Thank you!
-rw-r--r-- | mediagoblin/submit/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mediagoblin/submit/views.py b/mediagoblin/submit/views.py index fb0a7877..42c378a8 100644 --- a/mediagoblin/submit/views.py +++ b/mediagoblin/submit/views.py @@ -63,7 +63,8 @@ def submit_start(request): description=unicode(submit_form.description.data), license=unicode(submit_form.license.data) or None, tags_string=submit_form.tags.data, - upload_limit=upload_limit, max_file_size=max_file_size) + upload_limit=upload_limit, max_file_size=max_file_size, + urlgen=request.urlgen) add_message(request, SUCCESS, _('Woohoo! Submitted!')) |