1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

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

View File

@ -167,7 +167,7 @@ class FileDescriptor(DeferredAttribute):
return self
# 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
# the FieldFile API so that users can easily do things like
# instance.file.path and have that delegated to the file storage engine.