Opened 18 years ago
Closed 17 years ago
#2233 closed enhancement (invalid)
[patch] Model save method should have acces to file fields details during save
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | minor | Keywords: | |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I think you should be able to manipulate file fields by overriding save method on a model. If you override the save method you cannot get file field information such as file size or dimensions.
Attachments (1)
Change History (7)
by , 18 years ago
Attachment: | manipulators.py added |
---|
comment:1 by , 18 years ago
Summary: | Model save method should have acces to file fields details during save → [patch] Model save method should have acces to file fields details during save |
---|
comment:3 by , 18 years ago
priority: | high → normal |
---|
comment:4 by , 18 years ago
Version: | magic-removal → SVN |
---|
comment:5 by , 18 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:6 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Manipulators are deprecated, so this patch is invalid, and I _think_ the solution is to call the superclass save
before attempting to do anything fancy with the file.
Note:
See TracTickets
for help on using tickets.
Fixes issue.