Opened 17 years ago
Closed 17 years ago
#5123 closed (fixed)
ImageField.formfield does not pass arguments correctly
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | Keywords: | ImageField formfield | |
Cc: | cmawebsite@… | 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
formfield method of ImageField database field does not pass arguments correctly. It replaces instead of updating.
Attachments (1)
Change History (4)
by , 17 years ago
Attachment: | 5833 ImageField formfield.patch added |
---|
comment:1 by , 17 years ago
I've had exactly the same problem as Collin (i.e. not being able to properly subclass ImageField because formfield() doesn't add to defaults) and came up with exactly the same solution. I therefore think his patch should be accepted and merged in.
comment:2 by , 17 years ago
Triage Stage: | Unreviewed → Ready for checkin |
---|
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This adds the missing line that is in the other formfield methods of most of the other fields.