From 75f93a3f7854a7383febd047391e2bfd4caceee0 Mon Sep 17 00:00:00 2001 From: Yuval Adam Date: Thu, 20 Mar 2014 17:49:16 +0200 Subject: Initial git fork of django-storages --- storages/models.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 storages/models.py (limited to 'storages/models.py') 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) + -- cgit v1.3.1