forked from codekoala/django-queued-storage
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters