From: Christopher Allan Webber Date: Thu, 14 Nov 2013 19:53:07 +0000 (-0600) Subject: Pass in request.urlgen to submit_media so it can update the feed_url stuff X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c802c41af49edf21fd30ab2663fcc1eae912318a;p=mediagoblin.git 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! --- 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!'))