Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#10779 closed (fixed)

Typo in Files documentation

Reported by: amiroff Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: typo, documentation
Cc: amiroff@… 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/topics/files/#using-files-in-models documentation is as folows:

Consider the following model, using a FileField to store a photo:


But in the following code example it reads like

photo = models.ImageField(upload_to='cars')

Clearly example and expalanations afterwards explain usage of ImageField. Therefore, the abovementioned paragraph should be fixed.

Attachments (1)

10779.diff (535 bytes ) - added by Tim Graham 16 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by amiroff, 16 years ago

Version: 1.0SVN

by Tim Graham, 16 years ago

Attachment: 10779.diff added

comment:2 by Tim Graham, 16 years ago

Has patch: set
Triage Stage: UnreviewedReady for checkin

comment:3 by Russell Keith-Magee, 16 years ago

Resolution: fixed
Status: newclosed

(In [10567]) Fixed #10779 -- Corrected description of an example in the files docs. Thanks to timo for the patch.

comment:4 by Russell Keith-Magee, 16 years ago

(In [10571]) [1.0.X] Fixed #10779 -- Corrected description of an example in the files docs. Thanks to timo for the patch.

Merge of r10567 from trunk.

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