Fixed typo in django/db/models/fields/files.py comment.

This commit is contained in:
Jan Pieter Waagmeester 2022-08-25 09:41:33 +02:00 committed by GitHub
parent 9942f3fb49
commit 2480554dc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ class FileDescriptor(DeferredAttribute):
return self return self
# This is slightly complicated, so worth an explanation. # This is slightly complicated, so worth an explanation.
# instance.file`needs to ultimately return some instance of `File`, # instance.file needs to ultimately return some instance of `File`,
# probably a subclass. Additionally, this returned object needs to have # probably a subclass. Additionally, this returned object needs to have
# the FieldFile API so that users can easily do things like # the FieldFile API so that users can easily do things like
# instance.file.path and have that delegated to the file storage engine. # instance.file.path and have that delegated to the file storage engine.