#1653 closed enhancement (fixed)
[patch] Documentation for FileField and Manipulators
Reported by: | Viktor Kerkez | Owned by: | Jacob |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Documentation for this field is not quite good.
I had an 2h headake untill i figured that i have to do:
new_data = request.POST.copy() new_data.update(request.FILES)
instead of just:
new_data = request.POST.copy()
if I want to use Add or Change manipulator for my model.
Attachments (3)
Change History (5)
comment:1 by , 19 years ago
Component: | Admin interface → Documentation |
---|---|
Owner: | changed from | to
Summary: | Documentation for FileField and Manipulators → [patch] Documentation for FileField and Manipulators |
Version: | → SVN |
by , 19 years ago
Attachment: | forms.txt.diff added |
---|
Patch to document FileField and ImageField's use in forms a bit
by , 19 years ago
Attachment: | forms.txt.3.diff added |
---|
2nd update, fixes a typo and rewords part of a sentence
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Find a patch attached that explains FileField and ImageField a bit more as well as the stuff mentioned in this ticket.