mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
clean-up
This commit is contained in:
parent
3c4a7560ea
commit
2374709e2c
@ -64,10 +64,12 @@ def check_file_based_cache_is_absolute(app_configs, **kwargs):
|
|||||||
location is not None
|
location is not None
|
||||||
and not pathlib.Path(location).is_absolute()
|
and not pathlib.Path(location).is_absolute()
|
||||||
):
|
):
|
||||||
return [Warning(
|
return [
|
||||||
f"Your '{alias_name}' cache LOCATION path is relative. Use an "
|
Warning(
|
||||||
f"absolute path instead.",
|
f"Your '{alias_name}' cache LOCATION path is relative. Use an "
|
||||||
id="caches.W003",
|
f"absolute path instead.",
|
||||||
)]
|
id="caches.W003",
|
||||||
|
)
|
||||||
|
]
|
||||||
|
|
||||||
return []
|
return []
|
||||||
|
Loading…
Reference in New Issue
Block a user