Yeah, I was missing.
I should be using 'get_uploads(request, populate_post=True)' instead of
'get_uploads(request)'
#RTFM
--Rafael
On 11/16/2010 01:51 PM, Rafael Nunes wrote:
After a weekend fighting with Django and Blobstore, I could make it
work with this:
http://appengine-cookbook.appspot.com/recipe/blobstore-get_uploads-helper-function-for-django-request/
I can get the BlobInfo(img) uploaded, but the other fields in my
form('txtDesc' and 'txtOne' are missing:
<form action="{{form_action}}" method="POST"
enctype="multipart/form-data">
Image:<input type="file" name="img"><br/>
Desc: <textarea name="txtDesc"></textarea><br/>
Text: <input type="text" name="txtOne"></text>
<input type="submit" value="OK" />
</form>
And debbuging, I can see that my request.POST is empty:
request.POST<QueryDict: {}>
Am I missing something?
Thanks,
--
You received this message because you are subscribed to the Google Groups "Google
App Engine" 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/google-appengine?hl=en.