fixed tests and defaults

This commit is contained in:
Rodney Ewing
2013-06-13 17:17:33 -07:00
parent 91a52878cf
commit 001a50a850
6 changed files with 45 additions and 10 deletions

View File

@@ -107,9 +107,7 @@ def submit_start(request):
# Check if user is over upload limit
if upload_limit and (user.uploaded + file_size) >= upload_limit:
messages.add_message(
request,
messages.WARNING,
submit_form.file.errors.append(
_('Sorry, uploading this file will put you over your'
' upload limit.'))
return redirect(request, "mediagoblin.submit.start",