I am looking for a way to read from a list of variables and set them in Django settings using the settings.configure() method:
from django.conf import settings
def func(i):
# do something and return
for item in items:
settings.configure(item=func(item))
But have no idea how I could write this properly to get past the
TypeError: Setting 'item' must be uppercase.