Hey,

That's not a great error report: tell the group what isn't working, what you
expect, what errors you see, what you see in logs, etc.

(Think of how many times a non-technical person has reported a bug to you as
"it's not working" and how frustrating that is)

--
Ikai Lan
Developer Programs Engineer, Google App Engine
Blogger: http://googleappengine.blogspot.com
Reddit: http://www.reddit.com/r/appengine
Twitter: http://twitter.com/app_engine



On Sun, Jan 9, 2011 at 12:52 PM, Massimiliano <
[email protected]> wrote:

> Hi,
> I'm going crazy with this!
>
> I can't understand why this is not working!
>
> <form action="{{ upload_url }}" method="POST"
> enctype="multipart/form-data">
>  <input type="file" name="foto"/>
> <input type="hidden" name="titolo" value="{{ elemento.date }}"/>
>  <input type="submit"/>
> </form>
>
> class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
> def post(self):
> upload_files = self.get_uploads('foto')
>  titolo = self.request.get('titolo')
> blob_info = upload_files[0]
>  articolo = db.Query(ARTICOLI).filter('titolo =', titolo)
> a =  blob_info.key()
>  for elemento in articolo:
> elemento.link = a
> elemento.Tlink = images.get_serving_url(a, 94)
>  elmento.Glink = images.get_serving_url(a, 400)
> elemento.put()
> self.redirect("/admin")
>
> Could someone help me?
>
> Max
>
>
> --
>
> My email: [email protected]
> My Google Wave: [email protected]
>
> --
> 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]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
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.

Reply via email to