/storages/models.py

https://bitbucket.org/btimby/django-storages · Python · 11 lines · 8 code · 3 blank · 0 comment · 1 complexity · 27ef4a211720d552c9397e5fe46818c7 MD5 · raw file

  1. from django.conf import settings
  2. if settings.DEFAULT_FILE_STORAGE.endswith('mosso.CloudFilesStorage'):
  3. import warnings
  4. warnings.simplefilter('always', PendingDeprecationWarning)
  5. warnings.warn("The mosso module will be deprecated in version 1.2 of "
  6. "django-storages. The CloudFiles code has been moved into"
  7. "django-cumulus at http://github.com/richleland/django-cumulus.",
  8. PendingDeprecationWarning)