Spirit icon indicating copy to clipboard operation
Spirit copied to clipboard

Improve settings validations

Open nitely opened this issue 2 years ago • 0 comments

Related to #316

We should validate settings, at least as a sort of sanity check. Most obvious settings to check are the installed apps and middleware. There are already some checks in place.

Example:

if not set(base.INSTALLED_APPS).issubset(settings.INSTALLED_APPS):
    raise ImproperlyConfigured("...")

nitely avatar Aug 03 '23 08:08 nitely