Callable with the same interface as the storage classes. This isn't just default_storage = import_string(settings.MESSAGE_STORAGE) to avoid accessing the settings at the module level.
(request)
| 3 | |
| 4 | |
| 5 | def default_storage(request): |
| 6 | """ |
| 7 | Callable with the same interface as the storage classes. |
| 8 | |
| 9 | This isn't just default_storage = import_string(settings.MESSAGE_STORAGE) |
| 10 | to avoid accessing the settings at the module level. |
| 11 | """ |
| 12 | return import_string(settings.MESSAGE_STORAGE)(request) |
no test coverage detected