mirror of
https://github.com/django/django.git
synced 2025-06-05 11:39:13 +00:00
clean-up
This commit is contained in:
parent
37e7e9bd95
commit
cdfea499be
@ -61,7 +61,8 @@ def check_file_based_cache_is_absolute(app_configs, **kwargs):
|
||||
alias_name = alias
|
||||
location = config
|
||||
|
||||
if alias_name is not None and not pathlib.Path(location.get("LOCATION")).is_absolute():
|
||||
if (alias_name is not None and
|
||||
not pathlib.Path(location.get("LOCATION")).is_absolute()):
|
||||
return Warning(
|
||||
f"Your '{alias_name}' cache LOCATION path is relative. Use an "
|
||||
f"absolute path instead.",
|
||||
|
Loading…
x
Reference in New Issue
Block a user