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

add DJANGO_CONFIGURATION_HOOK as optional parameter to allow customly…

Open JulianFeinauer opened this issue 3 years ago • 2 comments
trafficstars

… 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.

JulianFeinauer avatar Mar 21 '22 12:03 JulianFeinauer

I guess you can close this now? ;-)

NiklasMerz avatar Mar 21 '22 16:03 NiklasMerz

I guess so : )

JulianFeinauer avatar Mar 23 '22 07:03 JulianFeinauer