#10788: Actual name of uploaded file available later than it was in 1.0
---------------------------------------------+------------------------------
Reporter: kmtracey | Owner: jacob
Status: new | Milestone: 1.1
Component: File uploads/storage | Version: SVN
Resolution: | Keywords:
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------+------------------------------
Comment (by anonymous):
Replying to [comment:6 mitsuhiko]:
> The core no longer depends on that and I stronly suggest designing
custom upload handlers in a way that they don't depend on the final
filename of the file on the filesystem. This however is slighty backwards
incomaptible as it seems so it requires a decision by a main developer.
It's totally incompatible with every code I could see that needs to rename
(uploaded) files. To rename the file, you have know its name first, but in
the current status, this is not possible anymore (especially in pre_save()
signals).
--
Ticket URL: <http://code.djangoproject.com/ticket/10788#comment:7>
Django <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
-~----------~----~----~----~------~----~------~--~---