Skip to content

Commit 350d531

Browse files
committed
Use absolute paths when checking for app settings files to include.
- Legacy-Id: 11957
1 parent 7843ea2 commit 350d531

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ def skip_unreadable_post(record):
699699

700700
for app in INSTALLED_APPS:
701701
if app.startswith('ietf'):
702-
app_settings_file = os.path.join(app.replace('.', os.sep), "settings.py")
702+
app_settings_file = os.path.join(BASE_DIR, '../', app.replace('.', os.sep), "settings.py")
703703
if os.path.exists(app_settings_file):
704704
exec "from %s import *" % (app+".settings")
705705

0 commit comments

Comments
 (0)