Fix DeprecationWarning about USE_L10N in Django 4.0
This commit is contained in:
parent
2c1236106d
commit
a4e50ac7d5
2 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
-------
|
||||
|
|
|
@ -90,7 +90,8 @@ TIME_ZONE = 'UTC'
|
|||
|
||||
USE_I18N = True
|
||||
|
||||
USE_L10N = True
|
||||
if django.VERSION < (4, 0):
|
||||
USE_L10N = True
|
||||
|
||||
USE_TZ = True
|
||||
|
||||
|
|
Loading…
Reference in a new issue