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
3ce1a4c2
Unverified
Commit
3ce1a4c2
authored
Oct 09, 2023
by
Antonio Morillas
Committed by
GitHub
Oct 09, 2023
Browse files
Merge pull request #92 from amorilla/master
Backward compatibility
parents
d2845a8b
4b2cd688
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
3ce1a4c2
...
...
@@ -17,3 +17,4 @@ docs/_build/
htmlcov/
venv/
.venv/
.settings/
CHANGES.rst
View file @
3ce1a4c2
Changelog
=========
Changes in 3.1.1 (2023-10-09)
---------------------------
* Fixed compatibility for django-storages
* Clean Code
Changes in 3.1 (2023-05-12)
---------------------------
...
...
private_storage/__init__.py
View file @
3ce1a4c2
# following PEP 440
__version__
=
"3.1"
__version__
=
"3.1
.1
"
private_storage/servers.py
View file @
3ce1a4c2
...
...
@@ -16,7 +16,7 @@ from django.utils.module_loading import import_string
from
django.views.static
import
serve
,
was_modified_since
@
lru_cache
@
lru_cache
(
maxsize
=
128
)
# for backward compatibility
def
get_server_class
(
path
):
if
'.'
in
path
:
return
import_string
(
path
)
...
...
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