When your Storage model uses a real model you will get the message that the "App has not been loaded yet" on Django startup.
When using an import path like in Django middleware definitions the actual importing of the storage backend will be delayed until the settings.py file of chunked-upload will be called. This is after the models have been loaded and initialized.
This PR changes from:
from xy.storage import StorageClass
CHUNKED_UPLOAD_STORAGE_CLASS = StorageClass
When your Storage model uses a real model you will get the message that the "App has not been loaded yet" on Django startup.
When using an import path like in Django middleware definitions the actual importing of the storage backend will be delayed until the settings.py file of chunked-upload will be called. This is after the models have been loaded and initialized.
This PR changes from:
to: