-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Currently we cannot update Django to 2.1, becaure django-filters would also need to be updated to version 2.
In django-filters there's an undocumented change in the migration. In DateTimeFromToRangeFilter
suffix changed from _0
and _1
to _before
and _after
. So, if we have:
creation_date_time = filters.DateTimeFromToRangeFilter()
Before the querystring was ?creation_date_time_0=x&creation_date_time_1=y
but now it should be ?creation_date_time_before=x&creation_date_time_after=y
It's not easy to update and not breaking the frontends.