pylint-django
pylint-django copied to clipboard
Set undefined env variables using CLI arguments
Both DJANGO_SETTINGS_MODULE and DJANGO_CONFIGURATION are required for django.configurations.importer to install, else it throws an exception.
If the importer is not installed, django.setup() fails on configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) when trying to access uninitialized settings.
fixes #309 (https://github.com/PyCQA/pylint-django/issues/309#issuecomment-817098961) fixes #325 might relate to #362