Skip to content

Commit

Permalink
Merge pull request #92 from amorilla/master
Browse files Browse the repository at this point in the history
Backward compatibility
  • Loading branch information
amorilla authored Oct 9, 2023
2 parents d2845a8 + 4b2cd68 commit 3ce1a4c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ docs/_build/
htmlcov/
venv/
.venv/
.settings/
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Changelog
=========

Changes in 3.1.1 (2023-10-09)
---------------------------

* Fixed compatibility for django-storages
* Clean Code


Changes in 3.1 (2023-05-12)
---------------------------

Expand Down
2 changes: 1 addition & 1 deletion private_storage/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# following PEP 440
__version__ = "3.1"
__version__ = "3.1.1"
2 changes: 1 addition & 1 deletion private_storage/servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
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)
Expand Down

0 comments on commit 3ce1a4c

Please sign in to comment.