Fixed typo in django/core/files/storage/base.py docstring.
Some checks are pending
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Linters / flake8 (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run

This commit is contained in:
Siyabonga Dlikilili 2025-09-13 20:31:33 +02:00 committed by Mariusz Felisiak
parent 94680437a4
commit 0ce1084cb6

View file

@ -37,7 +37,7 @@ class Storage:
# Ensure that the name is valid, before and after having the storage
# system potentially modifying the name. This duplicates the check made
# inside `get_available_name` but it's necessary for those cases where
# `get_available_name` is overriden and validation is lost.
# `get_available_name` is overridden and validation is lost.
validate_file_name(name, allow_relative_path=True)
# Potentially find a different name depending on storage constraints.