Unverified Commit 3ce1a4c2 authored by Antonio Morillas's avatar Antonio Morillas Committed by GitHub
Browse files

Merge pull request #92 from amorilla/master

Backward compatibility
parents d2845a8b 4b2cd688
...@@ -17,3 +17,4 @@ docs/_build/ ...@@ -17,3 +17,4 @@ docs/_build/
htmlcov/ htmlcov/
venv/ venv/
.venv/ .venv/
.settings/
Changelog Changelog
========= =========
Changes in 3.1.1 (2023-10-09)
---------------------------
* Fixed compatibility for django-storages
* Clean Code
Changes in 3.1 (2023-05-12) Changes in 3.1 (2023-05-12)
--------------------------- ---------------------------
......
# following PEP 440 # following PEP 440
__version__ = "3.1" __version__ = "3.1.1"
...@@ -16,7 +16,7 @@ from django.utils.module_loading import import_string ...@@ -16,7 +16,7 @@ from django.utils.module_loading import import_string
from django.views.static import serve, was_modified_since from django.views.static import serve, was_modified_since
@lru_cache @lru_cache(maxsize=128) # for backward compatibility
def get_server_class(path): def get_server_class(path):
if '.' in path: if '.' in path:
return import_string(path) return import_string(path)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment