On Jun 17, 2:50 am, JHeasly <jhea...@earthlink.net> wrote: > Hello all, > > Is there a sane way to make a clean [1] method that depends on fields > from across multiple models? > > I've got a view that uses two form classes and want to write custom > validation that checks clean_data fields in both models and I'm > looking for an example of such. > > TIA, > John > > [1]http://docs.djangoproject.com/en/1.1/ref/forms/validation/#s-cleaning...
John Some actual code examples showing what you are trying to achieve would help... Bear in mind that "cleaning" relates to form data and not models per se (as per the example you point to). Derek -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.