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
For url parameters passing an array, such as "x__in=[1,2,3]", these are generally encoded as "x__in=1&x__in=2&x__in=3", but can also be passed as "x__in[]=1&x__in[]=2&x__in[]=3" (for example, this is default behavior in the Axios JS library). Django doesn't disambiguate between these, but it'd be nice if django-url-filter searched for parameters that match either naming scheme. E.g.,
value = requests.GET.get(fieldname)
if value is None:
value = request.GET.getlist(f'{fieldname}[]')
# ...
The text was updated successfully, but these errors were encountered:
For url parameters passing an array, such as "x__in=[1,2,3]", these are generally encoded as "x__in=1&x__in=2&x__in=3", but can also be passed as "x__in[]=1&x__in[]=2&x__in[]=3" (for example, this is default behavior in the Axios JS library). Django doesn't disambiguate between these, but it'd be nice if django-url-filter searched for parameters that match either naming scheme. E.g.,
The text was updated successfully, but these errors were encountered: