Hi all,
I can't understand the Blobstore. I have the lines below and I can upload
files in the Blobstore:
class ImgHandler(blobstore_handlers.BlobstoreUploadHandler):
def post(self):
upload_files = self.get_uploads('img')
self.redirect('/')
Now I'm trying to show it to my users. How can I do it? I can't understand
the Appengine Guide.
I want to store a link to the image in the datastore in a DB Expando in
order to have all in one place (link to the image,user name,...):
class IMG(db.Expando):
Date = db.DateTimeProperty(auto_now_add=True)
In the HTML I want to have something like that:
{% for img in immagini %}
<img src="/serve/{{ img.link }}" />
{% endfor %}
Can someone help me?
Regards
Massimiliano
--
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].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.