Commit 2a81b67e by Kenneth Reitz Committed by GitHub

Merge pull request #77 from rishabhiitbhu/bugfix#76

Fixed bug#76
parents 8759b8cf d1a94369
...@@ -109,7 +109,7 @@ USE_L10N = True ...@@ -109,7 +109,7 @@ USE_L10N = True
USE_TZ = True USE_TZ = True
# Change 'default' database configuration with $DATABASE_URL. # Change 'default' database configuration with $DATABASE_URL.
DATABASES['default'] = dj_database_url.config(conn_max_age=500) DATABASES['default'].update(dj_database_url.config(conn_max_age=500))
# Honor the 'X-Forwarded-Proto' header for request.is_secure() # Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https') SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment