kopia lustrzana https://github.com/wagtail/wagtail
Use UTC timezone in tests
This prevents Django from converting times in testspull/383/head^2
rodzic
3dc83a961f
commit
735cfe3767
|
@ -43,6 +43,7 @@ if not settings.configured:
|
||||||
STATIC_ROOT=STATIC_ROOT,
|
STATIC_ROOT=STATIC_ROOT,
|
||||||
MEDIA_ROOT=MEDIA_ROOT,
|
MEDIA_ROOT=MEDIA_ROOT,
|
||||||
USE_TZ=True,
|
USE_TZ=True,
|
||||||
|
TIME_ZONE='UTC',
|
||||||
STATICFILES_FINDERS=(
|
STATICFILES_FINDERS=(
|
||||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||||
'compressor.finders.CompressorFinder',
|
'compressor.finders.CompressorFinder',
|
||||||
|
|
Ładowanie…
Reference in New Issue