#11056 closed (fixed)
wrong object listed as a dependency in storage doc
Reported by: | wam | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (5)
by , 16 years ago
Attachment: | django_docs_ref_files_storage_txt.patch added |
---|
comment:1 by , 15 years ago
milestone: | → 1.1 |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
patch to fix the buggy reference to non existant objects.