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

Fix: Prevent error from unconfigured django. #394

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

alcrene
Copy link
Contributor

@alcrene alcrene commented Apr 21, 2024

Initializes settings configuration if needed.

It’s a bit of a hacky solution because it checks the private variable django.conf.settings._wrapped, but if Django is being phased out anyway, maybe this is fine.

Initializes settings configuration if needed.
Hacky solution because it checks the private variable 
`django.conf.settings._wrapped`
@alcrene alcrene changed the title Prevent error from unconfigured django. Fix: Prevent error from unconfigured django. Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant