aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/submit/views.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-12-23 21:01:13 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-12-24 00:07:24 +0100
commitb39d1f2351352fca21666137fa137eb64926a036 (patch)
tree9ec1dc3611deeba908f907f2ef27effc13424816 /mediagoblin/submit/views.py
parent1eac751bd2b3ecf4f9bfffe101c3f16f1e49eba6 (diff)
downloadmediagoblin-b39d1f2351352fca21666137fa137eb64926a036.tar.lz
mediagoblin-b39d1f2351352fca21666137fa137eb64926a036.tar.xz
mediagoblin-b39d1f2351352fca21666137fa137eb64926a036.zip
Mongo removal: Remove the validate=True arg to obj.save()
all callers were forced to use validate=True anyway. So remove this useless stuff.
Diffstat (limited to 'mediagoblin/submit/views.py')
-rw-r--r--mediagoblin/submit/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/submit/views.py b/mediagoblin/submit/views.py
index 3628fa0d..1f0e927e 100644
--- a/mediagoblin/submit/views.py
+++ b/mediagoblin/submit/views.py
@@ -112,7 +112,7 @@ def submit_start(request):
entry.queued_task_id = task_id
# Save now so we have this data before kicking off processing
- entry.save(validate=True)
+ entry.save()
# Pass off to processing
#
@@ -210,7 +210,7 @@ def add_collection(request, media=None):
messages.add_message(
request, messages.ERROR, _('You already have a collection called "%s"!' % collection.title))
else:
- collection.save(validate=True)
+ collection.save()
add_message(request, SUCCESS, _('Collection "%s" added!' % collection.title))