mirror of
https://github.com/django/django.git
synced 2025-11-19 19:24:46 +00:00
Fixed typo in django/core/files/storage/base.py docstring.
This commit is contained in:
parent
94680437a4
commit
0ce1084cb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue