Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14762 closed (fixed)

documentation does not document ContentFile

Reported by: jesh Owned by: nobody
Component: Documentation Version: 1.2
Severity: Keywords: File, ContentFile
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

See

http://docs.djangoproject.com/en/dev/ref/files/file/#django.core.files.File

Documentation could well tell about core.files.base.ContentFile. Otherwise it's not clear how a new file is written.

file.save(name,ContentFile(content.encode("utf-8")))

Attachments (1)

document-contentfile.diff (1.2 KB ) - added by Adam Vandenberg 14 years ago.
Documents "ContentFile" and fixes a typo on "ImageFile".

Download all attachments as: .zip

Change History (5)

comment:1 by Tim Graham, 14 years ago

Triage Stage: UnreviewedAccepted

by Adam Vandenberg, 14 years ago

Attachment: document-contentfile.diff added

Documents "ContentFile" and fixes a typo on "ImageFile".

comment:2 by Adam Vandenberg, 14 years ago

Has patch: set

comment:3 by Tim Graham, 14 years ago

Resolution: fixed
Status: newclosed

(In [14742]) Fixed #14762 - Add documention for ContentFile. Thanks jesh for the suggestion and adamv for the patch.

comment:4 by Tim Graham, 14 years ago

(In [14743]) [1.2.X] Fixed #14762 - Add documention for ContentFile. Thanks jesh for the suggestion and adamv for the patch.

Backport of r14742 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top