Skip to content

Commit da3b66a

Browse files
committed
fixed a small type that prevented settings from a project to find haystack connections declared by applications
1 parent 9baef75 commit da3b66a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djity/project_skeleton/settings.py_tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ for app in DJITY_APPS:
277277
except:
278278
pass
279279
try:
280-
required_haystack_connections = import_module(app+'settings').REQUIRED_HAYSTACK_CONNECTIONS
280+
required_haystack_connections = import_module(app+'.settings').REQUIRED_HAYSTACK_CONNECTIONS
281281
HAYSTACK_CONNECTIONS.update(required_haystack_connections)
282282
info("REQUIRED_HAYSTACK_CONNECTIONS parameter found in %s.settings, add \"%s\" to dictionary of HAYSTACK_CONNECTIONS" % (app,",".join(required_haystack_connections.keys)))
283283
except:

0 commit comments

Comments
 (0)