Fix DeprecationWarning about USE_L10N in Django 4.0

This commit is contained in:
Valentin Samir 2022-10-17 19:27:51 +02:00
parent 2c1236106d
commit a4e50ac7d5
2 changed files with 3 additions and 1 deletions

View file

@ -17,6 +17,7 @@ Fixes
-----
* Fix unicode sandwich issue in cas_server.utils.update_url
* Fix DeprecationWarning about default_app_config in Django 3.2
* Fix DeprecationWarning about USE_L10N in Django 4.0
Removed
-------

View file

@ -90,6 +90,7 @@ TIME_ZONE = 'UTC'
USE_I18N = True
if django.VERSION < (4, 0):
USE_L10N = True
USE_TZ = True