wrong object listed as a dependency in storage doc
|Reported by:||wam||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
at http://docs.djangoproject.com/en/dev/ref/files/storage/#storage-save-name-content the following statement is made:
The content argument must be an instance of django.db.files.File or of a subclass of File.
That URL corresponds to:
django/docs/ref/files/storage.txt which includes the following text:
The ``content`` argument must be an instance of :class:`django.db.files.File` or of a subclass of :class:`~django.db.files.File`.
In fact, there is no django.db.files.File object defined. I suspect the actual object that the documentation refers to is
django.core.files.File. I'll attach a patch against the doc that corrects this mistake.
Change History (5)
Changed 6 years ago by wam
comment:1 Changed 6 years ago by adamfast
- milestone set to 1.1
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Ready for checkin