Take a look at "limit_choices_to" in the model api docs and see if
that will do what you need.

On Feb 9, 4:27 am, "Rob Slotboom" <[EMAIL PROTECTED]> wrote:
> For a several models I use a FK to photos. The drop down in admin to
> choose from lists all photos.
> Can this list be filtered so I can restrict the available photos for
> some models?


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to