summaryrefslogtreecommitdiff
path: root/storages/models.py
blob: 78aae724cfe33e0ab55885145ba565734c6b5e9f (plain)
1
2
3
4
5
6
7
8
9
10
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)