On Wed, Mar 11, 2009 at 6:40 AM, David Gouldin <dgoul...@gmail.com> wrote:
> > I have an admin class with a couple of inlines, and I need to validate > that either one or the other has at least one instance populated. > Since each inline has its own separate form in newforms admin, I'm > having difficulty determining how to validate inlines that depend on > each other. Any suggestions? > > > > You'll probably need to overide a method on the ModelAdmin, it sounds like you want to validate accross 2 different inlines, which doesn't have a hook the way validating across forms in an inline, or across a single form does. Alex -- "I disapprove of what you say, but I will defend to the death your right to say it." --Voltaire "The people's good is the highest law."--Cicero --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---