pylint-django icon indicating copy to clipboard operation
pylint-django copied to clipboard

Set undefined env variables using CLI arguments

Open TheAfroOfDoom opened this issue 3 years ago • 1 comments

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

TheAfroOfDoom avatar Jun 04 '22 01:06 TheAfroOfDoom

Coverage Status

Coverage decreased (-86.06%) to 0.0% when pulling ec3bcf6156788c97e26939f90a1d8aed8f56b755 on TheAfroOfDoom:master into 6c1e67ee9fb8db2f1fbc3eaf63d7accc2a195236 on PyCQA:master.

coveralls avatar Jun 04 '22 01:06 coveralls