how to limit the foreignkey dropdown with constraints?
Posted
by FurtiveFelon
on Stack Overflow
See other posts from Stack Overflow
or by FurtiveFelon
Published on 2010-06-17T18:14:48Z
Indexed on
2010/06/17
18:23 UTC
Read the original article
Hit count: 252
django
|django-admin
Hi all,
I have a database which keeps track of interaction between two different teams (represented in the admin interface by two different groups). For some fields, i have a foreignkey to Users database, and i would like to limit the dropdown people to only the specific groups.
If anyone have any suggestions, it would be much appreciated!
Jason
© Stack Overflow or respective owner