On Sat, May 29, 2010 at 22:07, Stephan Jäkel <m...@sjaekel.com> wrote:
> I already discussed this ticket with Jannis during the sprints and hope to > start a discussion here to find the right way to allow file uploads and see > if my approach takes the right direction. > Couldn't you just use python's *tempfile.NamedTemporaryFile*[1]? That way the file will get cleaned by the filesystem itself, unless you move it somewhere else in your ``done`` method. If you pass delete=False, you will be able to open the file again in the last step, as long as you properly closed it before. TiNo [1] http://docs.python.org/library/tempfile.html#tempfile.NamedTemporaryFile -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.