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-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