silentsokolov / django-admin-rangefilter

A Django app that lets you filter data by date range and numeric range in the admin UI
MIT License
713 stars 106 forks source link

Django 4.0 uses zoneinfo instead of pytz #71

Closed jameslao closed 2 years ago

jameslao commented 2 years ago

By default it prompts 'zoneinfo.ZoneInfo' object has no attribute 'localize'. This is with /rangefilter/filters.py I have temporarily enabled USE_DEPRECATED_PYTZ = True but this will be deprecated in Django 5.0.