1. Jesper Noehr
  2. django-piston
  3. Issues
Issue #136 new

BaseHandler doesn't invoke object.full_clean

Roman Imankulov
created an issue

Django 1.2 proposes convenient mechanism of model validation with its full_clean() method (see http://docs.djangoproject.com/en/dev/ref/models/instances/#id1).

It would be nice if the default handler implementation invokes inst.full_clean() just before inst.save() and returns rc.BAD_REQUEST in case of an error as ModelForm already does.

What do you think about this proposal?

Comments (0)

  1. Log in to comment