django-filter链式选择

时间:2019-02-01 19:21:10

标签: python django django-filter

我正在使用django-filters lib https://django-filter.readthedocs.io/en/master/index.html。我需要在过滤器中进行链接选择下拉列表。 我知道如何使用像这里https://simpleisbetterthancomplex.com/tutorial/2018/01/29/how-to-implement-dependent-or-chained-dropdown-list-with-django.html这样的简单django形式来做到这一点。 用户选择地区时,我需要显示该地区的城市吗?有一个人的想法或解决方案如何建立过滤器也是这样吗?

0 个答案:

没有答案