Refactor wrapped lazy Django settings
Tune (lazy) settings handling to pass test in other projects