Skip to content

Commit

Permalink
Backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
amorilla committed Oct 9, 2023
1 parent d2845a8 commit cac081d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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/
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 cac081d

Please sign in to comment.