From c802c41af49edf21fd30ab2663fcc1eae912318a Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Thu, 14 Nov 2013 13:53:07 -0600 Subject: [PATCH] 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! --- mediagoblin/submit/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!')) -- 2.25.1