From b37499ffbfd92c70a1166639f9f91e86c32a9903 Mon Sep 17 00:00:00 2001 From: dasf Date: Thu, 27 Feb 2014 17:57:39 +0100 Subject: [PATCH] crud view small fix --- djangular/views/crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangular/views/crud.py b/djangular/views/crud.py index 8790cfd..686bffa 100644 --- a/djangular/views/crud.py +++ b/djangular/views/crud.py @@ -115,7 +115,7 @@ def ng_save(self, request, *args, **kwargs): if form.is_valid(): obj = form.save() return self.build_json_response(obj) - raise ValidationError("Form not valid", form.errors) + raise ValidationError("Form not valid") def ng_delete(self, request, *args, **kwargs): """