diff options
author | Magnus Hagander | 2021-05-03 12:14:46 +0000 |
---|---|---|
committer | Magnus Hagander | 2021-05-03 12:14:46 +0000 |
commit | d7728ec34431e818db0e56e1dcbe50eff3f912fa (patch) | |
tree | f06867554047d357c6a8df86084c6e811d5abf97 /postgresqleu/settings.py | |
parent | ccbcf3ec89370d0d2d58e7a595c08929e1a2b454 (diff) |
Add a note about django toolbar breaking our timezone handling
Most things still work so it's still a usable setting, but it does break
the registration dashboard for example (for any conference that's not
run in UTC).
Diffstat (limited to 'postgresqleu/settings.py')
-rw-r--r-- | postgresqleu/settings.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/postgresqleu/settings.py b/postgresqleu/settings.py index c57f4fcc..b2ae5a94 100644 --- a/postgresqleu/settings.py +++ b/postgresqleu/settings.py @@ -281,6 +281,8 @@ if 'INVOICE_NOTIFICATION_RECEIVER' not in globals(): if 'SCHEDULED_JOBS_EMAIL_SENDER' not in globals(): SCHEDULED_JOBS_EMAIL_SENDER = SCHEDULED_JOBS_EMAIL +# NOTE! Turning on the debug toolbar *breaks* manual queries for conferences due to how the +# timezones are handled. Access through the django ORM still works. if DEBUG and DEBUG_TOOLBAR: MIDDLEWARE.append('debug_toolbar.middleware.DebugToolbarMiddleware') INSTALLED_APPS.append('debug_toolbar') |