#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)
Change History (5)
comment:1 by , 16 years ago
Version: | 1.0 → SVN |
---|
by , 16 years ago
Attachment: | 10779.diff added |
---|
comment:2 by , 16 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
(In [10567]) Fixed #10779 -- Corrected description of an example in the files docs. Thanks to timo for the patch.