Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set undefined env variables using CLI arguments #363

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jun 4, 2022

  1. 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 pylint-dev#309 (pylint-dev#309 (comment))
    fixes pylint-dev#325
    might relate to pylint-dev#362
    TheAfroOfDoom committed Jun 4, 2022
    Configuration menu
    Copy the full SHA
    8196b1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec3bcf6 View commit details
    Browse the repository at this point in the history