diff --git a/.gitignore b/.gitignore index 6ac455c..c6492d7 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ docs/_build/ htmlcov/ venv/ .venv/ +.settings/ diff --git a/CHANGES.rst b/CHANGES.rst index be2ee52..33bfe26 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -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) --------------------------- diff --git a/private_storage/__init__.py b/private_storage/__init__.py index 8325bf4..15d4f9e 100644 --- a/private_storage/__init__.py +++ b/private_storage/__init__.py @@ -1,2 +1,2 @@ # following PEP 440 -__version__ = "3.1" +__version__ = "3.1.1" diff --git a/private_storage/servers.py b/private_storage/servers.py index 16156fd..561e414 100644 --- a/private_storage/servers.py +++ b/private_storage/servers.py @@ -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)