mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
commit
a8b0aa48b7
@ -50,11 +50,11 @@ def make_wsgi_application():
|
|||||||
def reload_django_settings():
|
def reload_django_settings():
|
||||||
mod = util.import_module(os.environ['DJANGO_SETTINGS_MODULE'])
|
mod = util.import_module(os.environ['DJANGO_SETTINGS_MODULE'])
|
||||||
|
|
||||||
# reload module
|
# Reload module.
|
||||||
reload(mod)
|
reload(mod)
|
||||||
|
|
||||||
# reload settings.
|
# Reload settings.
|
||||||
# USe code from django.settings.Settings module.
|
# Use code from django.settings.Settings module.
|
||||||
|
|
||||||
# Settings that should be converted into tuples if they're mistakenly entered
|
# Settings that should be converted into tuples if they're mistakenly entered
|
||||||
# as strings.
|
# as strings.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user