You could take a look at http://wadofstuff.blogspot.com/2009/08/requiring-at-least-one-inline-formset.html
On Feb 8, 6:46 pm, Gabriel Reis <gabriel...@gmail.com> wrote: > Hello guys, > > I have the following situation: > > class FooInline(TabularInline): > model = Foo > extra = 1 > max_num = 1 > > class MyAdmin(admin.ModelAdmin): > inlines = [FooInline,] > > Is there any way to perform a validation in which the user must have filled > the fields of the inline formset? > I mean, if the user does not change anything in the inline form, raise a > form error validation? > > Thanks! > > Cheers, > > Gabriel Reis -- 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.