Avoid accessing Django database settings at import time
Open
enhancement
- Dominant language
- Python
- Stars
- 451
- Forks
- 702
- Avg merge
- 22h 59m
- Merged PRs (30d)
- 91
Description
The current implementation reads database settings at module scope. This can cause issues when the module is imported before Django settings are fully initialized. Database configuration should instead be accessed during runtime inside the management command.
Contributor guide
Assessment
This issue has not been assessed yet.