Commit 260c03565f8e3fa0cad2d23e5222b83c4261ed2d
1 parent
4c4002e1
Exists in
dev
fix settings.py, if use_tz = False, API is not working
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/core/pyros_django/pyros/settings.py
... | ... | @@ -402,8 +402,8 @@ USE_L10N = True |
402 | 402 | # If false => "updated" fields in weatherwatch or sitewatch will be saved as UTC+1 time (French time) |
403 | 403 | # (Was) Necessary for "pyros test" (no more necessary now because fixtures dates have been converted to naive format without time zone) : |
404 | 404 | # Necessary for ENV monitoring : |
405 | -USE_TZ = False | |
406 | -##USE_TZ = True | |
405 | +#USE_TZ = False | |
406 | +USE_TZ = True | |
407 | 407 | |
408 | 408 | # To find the media files {{ MEDIA_URL }} |
409 | 409 | # change with Django 3.2 : media url can't be within static folder | ... | ... |