Please sign in to comment.
Only create storage instances when required, not on import.
This drastically speeds up startup times for anything that imports all models (which is pretty much anything in Django). It saves having to connect to the remote storage, in particular, until it's required.
- Loading branch information...