mirror of
https://github.com/django/django.git
synced 2025-11-20 19:47:55 +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
|
# Ensure that the name is valid, before and after having the storage
|
||||||
# system potentially modifying the name. This duplicates the check made
|
# system potentially modifying the name. This duplicates the check made
|
||||||
# inside `get_available_name` but it's necessary for those cases where
|
# 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)
|
validate_file_name(name, allow_relative_path=True)
|
||||||
|
|
||||||
# Potentially find a different name depending on storage constraints.
|
# Potentially find a different name depending on storage constraints.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue