You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so the goal here is to let the customer choose the class date first, and then they can select the class_ID according to the class date. However, they should be able to choose only the classes which are active (active=True) and matches their age group.
So originally I did this by setting the queryset in forms.py
hi, I am working with the chainedforeignkey field for my website, however I am unable to define the queryset for the chainedforeignkey to query.
Models.py
so the goal here is to let the customer choose the class date first, and then they can select the class_ID according to the class date. However, they should be able to choose only the classes which are active (active=True) and matches their age group.
So originally I did this by setting the queryset in forms.py
After using django-smart-selects, I have tried 2 methods.
But none of the method works and now I am stuck. Thanks :)
The text was updated successfully, but these errors were encountered: