This commit is contained in:
Rodney Ewing 2013-06-12 14:03:09 -07:00
parent c3cce7564a
commit 150bee3f8f
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ theme = string()
plugin_web_path = string(default="/plugin_static/")
plugin_linked_assets_dir = string(default="%(here)s/user_dev/plugin_static/")
# User upload limit (in Mbs)
# User upload limit (in Mb)
upload_limit = integer(default=500)
[jinja2]

View File

@ -112,7 +112,7 @@ def submit_start(request):
messages.WARNING,
_('Sorry, uploading this file will put you over your'
' upload limit.'))
return redirect(request, "mediagoblin.user_pages.user_home",
return redirect(request, "mediagoblin.submit.start",
user=user.username)
user.uploaded = user.uploaded + file_size