diff options
Diffstat (limited to 'storages/models.py')
| -rw-r--r-- | storages/models.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/storages/models.py b/storages/models.py new file mode 100644 index 0000000..78aae72 --- /dev/null +++ b/storages/models.py @@ -0,0 +1,11 @@ +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) + |
