Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
2621fd2a
Unverified
Commit
2621fd2a
authored
Dec 04, 2017
by
Diederik van der Boor
Committed by
GitHub
Dec 04, 2017
Browse files
Merge pull request #15 from thecardcheat/django2.0
Support reverse() import change
parents
d70cba1e
7d243562
Changes
1
Hide whitespace changes
Inline
Side-by-side
private_storage/storage/files.py
View file @
2621fd2a
...
...
@@ -2,10 +2,14 @@
Django Storage interface, using the file system backend.
"""
from
django.core.files.storage
import
FileSystemStorage
from
django.core.urlresolvers
import
reverse_lazy
from
django.utils.deconstruct
import
deconstructible
from
django.utils.encoding
import
force_text
try
:
from
django.urls
import
reverse_lazy
# Added in Django 1.10
except
ImportError
:
from
django.core.urlresolvers
import
reverse_lazy
from
private_storage
import
appconfig
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment