Monday, April 2, 2012

Re: django-admin change form page validation

On Sat, Mar 31, 2012 at 4:55 AM, Nikhil Verma <varma.nikhil22@gmail.com> wrote:
> Hi All
>
> How can i apply validation in admin on various fields when they are
> dependent on each other ?
>

There is good advice laid out in the docs for when you need to clean
and validate fields that depend on each other.

https://docs.djangoproject.com/en/1.4/ref/forms/validation/#cleaning-and-validating-fields-that-depend-on-each-other

Cheers

Tom

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment