Hi,
Check this. This may be useful for you. It is based on dependent
dropdown.
https://www.youtube.com/watch?v=U_qPp6vPl-g
On Sun, Sep 27, 2020 at 10:09 PM Marco Paradisi <[email protected]> wrote:
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFCTdWp0xJE_J-r%3DmHbHzVmeAsGvotFc1%3DyQBGuyEzjfiiVxTA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAFCTdWp0xJE_J-r%3DmHbHzVmeAsGvotFc1%3DyQBGuyEzjfiiVxTA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
Thanks and Regards
J. Ranga Bharath
cell: 9110334114
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAK5m314V6rMaarKnx3rV4uNO%3DfKo-24JsNLczFddDNShN65mmw%40mail.gmail.com.