Skip to content

Commit

Permalink
Merge pull request #2 from mbatle/fix-import-reverse
Browse files Browse the repository at this point in the history
Fix import reverse
  • Loading branch information
vdboor authored May 8, 2017
2 parents 123c1b8 + 5fb51f7 commit fe55b7c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion private_storage/storage/s3boto3.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from django.urls import reverse
try:
from django.urls import reverse
except ImportError:
from django.core.urlresolvers import reverse
from django.utils.deconstruct import deconstructible
from storages.backends.s3boto3 import S3Boto3Storage
from storages.utils import setting
Expand Down

0 comments on commit fe55b7c

Please sign in to comment.