Skip to content

Commit

Permalink
Merge pull request #8 from NVBots/master
Browse files Browse the repository at this point in the history
add support for LibCloudStorage with Django1.7 migration features
  • Loading branch information
jschneier committed Dec 12, 2014
2 parents 0364953 + 4e9e36c commit b85aeb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storages/backends/apache_libcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
from django.core.files.base import File
from django.core.exceptions import ImproperlyConfigured

from storages.compat import BytesIO
from storages.compat import BytesIO, deconstructible

try:
from libcloud.storage.providers import get_driver
from libcloud.storage.types import ObjectDoesNotExistError, Provider
except ImportError:
raise ImproperlyConfigured("Could not load libcloud")


@deconstructible
class LibCloudStorage(Storage):
"""Django storage derived class using apache libcloud to operate
on supported providers"""
Expand Down

0 comments on commit b85aeb3

Please sign in to comment.