Commit cac081d7 authored by amorilla's avatar amorilla
Browse files

Backward compatibility

parent d2845a8b
......@@ -17,3 +17,4 @@ docs/_build/
htmlcov/
venv/
.venv/
.settings/
......@@ -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)
......
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