Hi Everyone!
-- I need to filter the choices for a foreign key.
My Model has an attribute SEX that could be M or F, and two Foreign keys ( FATHER and MOTHER ), I want both filtered for sex.
How can I achieve it?
Thanks in advance
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFCTdWp0xJE_J-r%3DmHbHzVmeAsGvotFc1%3DyQBGuyEzjfiiVxTA%40mail.gmail.com.
No comments:
Post a Comment