Skip to content

Update Django to 2.1 #92

@Uxio0

Description

@Uxio0

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions