Thanks!
I should really make the switch from appenginepatch to django-nonrel.
Have to say its kinda scary switching a framework like that... :\
On Jun 30, 10:44 pm, Waldemar Kornewald wrote:
> On Jun 30, 4:05 pm, ekampf wrote:
>
> > I have a form with a several fields including one file field.
> > When using regular form submit I get all the data on the server (I'm
> > using django - request.POST has the data)
> > When I submit through theblobstorehandler when it redirects to my
> > code the request.POST dictionary is empty.
>
> > Any idea what Im doing wrong?
>
> Are you using Django-nonrel or still app-engine-patch? With Django-
> nonrel you can use
> django-filetransfers:http://www.allbuttonspressed.com/blog/django/2010/06/Uploads-to-Blobs...
>
> If you use app-engine-patch you'll need some more work:
>
> * dev_appserver'sblobstoreupload handler generates invalid line
> endings in the HTTP request. Apply this
> fix:http://code.google.com/p/googleappengine/issues/detail?id=3328
>
> * patch Django like
> this:http://bitbucket.org/wkornewald/django-nonrel/changeset/2ac5a9ffec83
>
> * try to use/adapt BlobstoreFileUploadHandler and
> BlobstoreUploadedFile from
> djangoappengine:http://bitbucket.org/wkornewald/djangoappengine/src/tip/storage.py
>
> Then, you'll be able to access uploaded files via request.FILES[' field>'] as BlobstoreUploadedFile instances. These have a
> blobstore_info attribute which contains a BlobInfo for the uploaded
> file.
>
> Bye,
> Waldemar Kornewald
>
> --
> Django on App Engine, MongoDB, ...? Browser-side Python? It's open-
> source:http://www.allbuttonspressed.com/
--
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-appeng...@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.