Pass in request.urlgen to submit_media so it can update the feed_url stuff
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 14 Nov 2013 19:53:07 +0000 (13:53 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 14 Nov 2013 19:53:07 +0000 (13:53 -0600)
This commit sponsored by Jesus Alberto Rodriguez Chavez.  Thank you!

mediagoblin/submit/views.py

index fb0a78777fb4c16e235c2acb38cc92df5c85d082..42c378a837e3d5d851cfb88ed8f37f092383a016 100644 (file)
@@ -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!'))