#5619: FileField and ImageField return the wrong path/url before calling
save_FOO_file()
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: leahculver
Status: reopened | Milestone: 1.0 beta
Component: Core framework | Version: SVN
Resolution: | Keywords: fs-rf-fixed
Stage: Someday/Maybe | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------------+------------------------------------
Changes (by mtredinnick):
* status: closed => reopened
* resolution: fixed =>
* stage: Ready for checkin => Someday/Maybe
Comment:
As noted in the above commits, there are technical reasons why it's not
really possible to fix this in a straightforward fashion. Tracking when an
attribute is updated by code (as opposed to a database read) is something
we might add in the future, in which case, this problem could be addressed
at that point. For now, the simplest and practical solution is "don't do
that". The model is going to be saved in any case, so save it first, then
read off the filename.
Reopening and moving to Someday/Maybe.
--
Ticket URL: <http://code.djangoproject.com/ticket/5619#comment:18>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---