arthur debert wrote: >I have an app that uploads a 4mb file and is taking a ton of memory. >>From tickets 1484/1569 they are set as fixed, but I cannot find them on >django's source code. Are these patches active in trunk? If not, >anyones knows if they're working after the merge? Anyone using them? > > 1569 is applied to the current trunk.
As for 1484 I use Django with it (which is not surprising since I wrote it :-) ) and I don't encounter any problems with form uploads, be it with files or not. My guess is that the main thing that holds this patch from checking in is lack of documentation and tests. But I dont' feel myself confident to do either thing being not native English speaker and not very experienced test writer. Anyone? Two things need to be documented there: - new boolean setting "STORE_UPLOAD_ON_DISK" - new key for request.FILES items: item['file'] which is a file-like object for accessing uploaded file. The old way item['content'] still works loading file in memory on first access. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers -~----------~----~----~----~------~----~------~--~---