mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
self.
This commit is contained in:
parent
fd3a5b6dcb
commit
f738d82bb7
@ -25,7 +25,7 @@ class DjangoApplication(Application):
|
|||||||
else:
|
else:
|
||||||
self.project_path = os.path.dirname(settings_path)
|
self.project_path = os.path.dirname(settings_path)
|
||||||
else:
|
else:
|
||||||
settings_path = os.path.join(project_path, "settings.py")
|
settings_path = os.path.join(self.project_path, "settings.py")
|
||||||
if not os.path.exists(settings_path):
|
if not os.path.exists(settings_path):
|
||||||
self.no_settings(settings_path)
|
self.no_settings(settings_path)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user