Hi, This morning I started to modify the code to CityGoRound to use the blobstore for user-uploaded screenshots.
We use Django forms in our app. One of our forms (http:// citygoround.org/apps/add/) allows users to upload a new "transit app" to our app gallery. They must include one screenshot; they can include up to five. Blob store handlers must issue a 30x-series redirect once they're done with their work. Understandable. Unfortunately, PGR makes handling blobs in the context of Django forms fairly tricky. Especially for a complex form like ours, we want to provide good feedback if the user does something wrong elsewhere in the form. It appears that, in order to do this, we must now redirect to a GET URL with form contents part of the URL string itself. If you're familiar with Django, you'll see what this doesn't fit into the typical form pattern. Does anyone have suggestions about how this can be cleanly handled? PS: I notice that if a user fails to attach a file, a zero-length blob with mimetype 'text/plain' is created anyway. Is this really desirable? I'm just going to turn around and delete that blob... Thanks, 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 [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.
