mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
tests: django: Fix a warning related timezone settings
The warning is: RemovedInDjango50Warning: The default value of USE_TZ will change from False to True in Django 5.0. Set USE_TZ to False in your project settings if you want to keep the current default behavior. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
f8e78f33d3
commit
70ed89eff9
2 files changed
+5
-1
No files matched your search
@@ -56,3 +56,7 @@ TEMPLATES = [{
|
||||
'APP_DIRS': True,
|
||||
'DIRS': ['plinth/tests/data/templates/'],
|
||||
}]
|
||||
|
||||
TIME_ZONE = 'UTC'
|
||||
|
||||
USE_TZ = True
|
||||
Reference in new issue
Block a user