To be explicitly clear, I think you could strip out the environment variable loading stuff. Really just want there to be a standardized database url format parser. Does a lot to encourage not keeping database configuration in settings.py if there is a guided path to loading the secret.