From faebeebbdf948aae9c326522740d2617d39843e0 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 5 Jun 2023 15:08:19 +0200 Subject: [PATCH] INTERNAL_IPS should default to a list --- umap/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/settings/base.py b/umap/settings/base.py index 0b86b55b..9992b011 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -13,7 +13,7 @@ env = environ.Env() # ============================================================================= -INTERNAL_IPS = env.list('INTERNAL_IPS', default='127.0.0.1') +INTERNAL_IPS = env.list('INTERNAL_IPS', default=['127.0.0.1']) ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['*']) ADMINS = tuple(parseaddr(email) for email in env.list('ADMINS', default=[]))