From 1e224f863a1e35afd0fd41230bc88aca45e80f85 Mon Sep 17 00:00:00 2001 From: Guillaume Rongier <47849411+grongierisc@users.noreply.github.com> Date: Tue, 19 Dec 2023 15:49:30 +0100 Subject: [PATCH] Add embedded python support --- django_iris/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django_iris/base.py b/django_iris/base.py index 701a908..1955ab4 100644 --- a/django_iris/base.py +++ b/django_iris/base.py @@ -120,7 +120,8 @@ def get_connection_params(self): conn_params['password'] = settings_dict['PASSWORD'] if 'TIMEOUT' in settings_dict: conn_params['timeout'] = settings_dict['TIMEOUT'] - + if 'EMBEDDED' in settings_dict: + conn_params['embedded'] = settings_dict['EMBEDDED'] if 'CONNECTION_STRING' in settings_dict: conn_params['connectionstr'] = settings_dict['CONNECTION_STRING'] else: