I've searched quite a bit didn't find much information on this so I
wanted to check I'm doing the right thing. Also hopefully this will
help others who come across same situation. Any suggestions and/or
additional info from the group is greatly appreciated.

In my app using Django 1.0  I allow upload via forms.FileField of up
to 5 files on the upload page. I was able to determine the 1MB file
limit applies to the individual files so the actual post can be up to
5x1024. However I came across an obscure(at least to me) exception
when posting.

Exception type: NotImplementedError
Exception value: This class/method is not available.
Location: ..../dev_appserver.py in NotImplementedFake, line 524

In tracking this down I put together that app engine does not allow
writing to file system (Please correct me if not right) and Django
default FILE_UPLOAD_MAX_MEMORY_SIZE is 2621440 bytes (2.5Mb) before it
streams to disk. So I simply modified my settings.py to include
FILE_UPLOAD_MAX_MEMORY_SIZE = 5252880 and it seems to be working
great.

So my question to the group is if this is the right and/or best way to
solve this? Is there a limit of how much memory GAE will allocate?

thx

Dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to