1
0
mirror of https://github.com/django/django.git synced 2025-09-17 14:39:17 +00:00

Fixed typo in django/core/files/storage/base.py docstring.

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.