Skip to content

Commit

Permalink
crud view small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosir committed Feb 27, 2014
1 parent 2221fa6 commit b37499f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion djangular/views/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit b37499f

Please sign in to comment.