We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e482930 commit d1d667eCopy full SHA for d1d667e
django_iris/base.py
@@ -134,6 +134,8 @@ def get_connection_params(self):
134
conn_params['hostname'] = settings_dict['HOST']
135
if settings_dict['PORT']:
136
conn_params['port'] = settings_dict['PORT']
137
+ if settings_dict['NAME']:
138
+ conn_params['namespace'] = settings_dict['NAME']
139
if 'NAMESPACE' in settings_dict:
140
conn_params['namespace'] = settings_dict['NAMESPACE']
141
@@ -144,7 +146,7 @@ def get_connection_params(self):
144
146
):
145
147
raise ImproperlyConfigured(
148
"settings.DATABASES is improperly configured. "
- "Please supply the HOST, PORT and NAMESPACE"
149
+ "Please supply the HOST, PORT and NAME"
150
)
151
152
if (
0 commit comments