/storages/models.py
https://bitbucket.org/btimby/django-storages · Python · 11 lines · 8 code · 3 blank · 0 comment · 1 complexity · 27ef4a211720d552c9397e5fe46818c7 MD5 · raw file
- from django.conf import settings
- if settings.DEFAULT_FILE_STORAGE.endswith('mosso.CloudFilesStorage'):
- import warnings
- warnings.simplefilter('always', PendingDeprecationWarning)
- warnings.warn("The mosso module will be deprecated in version 1.2 of "
- "django-storages. The CloudFiles code has been moved into"
- "django-cumulus at http://github.com/richleland/django-cumulus.",
- PendingDeprecationWarning)