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

add DJANGO_CONFIGURATION_HOOK as optional parameter to allow customly… #1002

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

JulianFeinauer
Copy link

… configured settings instances

This is a first draft implementation for #1001 to have a starting point for a discussion.

See here for how this would be applied: https://github.com/pragmaticindustries/open-machine-plattform/tree/feature/new-launcher-with-pytest-fixes
Especially https://github.com/pragmaticindustries/open-machine-plattform/blob/feature/new-launcher-with-pytest-fixes/pytest_setup.py
which is the hook that would be called and would internally call settings.configure({...}) to prepare a valid settings singleton for later.

@NiklasMerz
Copy link

I guess you can close this now? ;-)

@JulianFeinauer
Copy link
Author

I guess so : )

@JulianFeinauer JulianFeinauer force-pushed the feature/1001-custom-django-settings branch from 0df61b3 to 16db732 Compare July 5, 2022 06:03
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.

2 participants