INTERNAL_IPS should default to a list

This commit is contained in:
Yohan Boniface 2023-06-05 15:08:19 +02:00
parent 00f34c45ba
commit faebeebbdf

View file

@ -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=['*']) ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['*'])
ADMINS = tuple(parseaddr(email) for email in env.list('ADMINS', default=[])) ADMINS = tuple(parseaddr(email) for email in env.list('ADMINS', default=[]))