Its not clear if you want to filter the choices before the form is displayed, or dynamically in the browser?
On Oct 26, 7:29 pm, Lllama <f.ingram.li...@gmail.com> wrote: > Hello all, > > I've got an admin site that includes some inlines. These in turn > contain a ChoiceField. I'd like to filter the choices based on an > attribute of the parent model. Does anyone know if this is possible > and, if so, what hook I need to use? > > I feel like I should be able to use formfield_for_dbfield, but it's > getting at that pesky parent that I'm unsure of. > > Any help gratefully received, > > Felix -- 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.