Check this out here <https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html> . It shows the solution at the form level.
On Fri, Oct 18, 2019 at 3:59 PM briodev <[email protected]> wrote: > Halo guys, in the below snapshot, both Campus and Faculty classes have > tuple of choices in the model.py file. I'd want a user to get available > faculties depending on the choice selected on the campus, but I don't know > how to implement this in the code. Help kindly. > > -- > 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/0630f042-9fa8-4237-a293-d0adcffbe83b%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/0630f042-9fa8-4237-a293-d0adcffbe83b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- Regards, James Gutu -- 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/CAOnWGOKvbYF4oqjbLo9ArnpWfdKZYBA_B%3DBtaQkxzA15oYv4qQ%40mail.gmail.com.

