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:
parent
94680437a4
commit
0ce1084cb6
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user