From b39d1f2351352fca21666137fa137eb64926a036 Mon Sep 17 00:00:00 2001 From: Elrond Date: Sun, 23 Dec 2012 21:01:13 +0100 Subject: Mongo removal: Remove the validate=True arg to obj.save() all callers were forced to use validate=True anyway. So remove this useless stuff. --- mediagoblin/plugins/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mediagoblin/plugins/api/views.py') diff --git a/mediagoblin/plugins/api/views.py b/mediagoblin/plugins/api/views.py index 3d9437e0..4c36d110 100644 --- a/mediagoblin/plugins/api/views.py +++ b/mediagoblin/plugins/api/views.py @@ -94,7 +94,7 @@ def post_entry(request): entry.queued_task_id = task_id # Save now so we have this data before kicking off processing - entry.save(validate=True) + entry.save() if request.form.get('callback_url'): metadata = request.db.ProcessingMetaData() -- cgit v1.2.3