you might try
{{greeting.key.id}}
or
{{greeting.key.id_or_name}}
2009/10/25 MichaelT <[email protected]>:
>
> I can save and display the images if I use the method used here:
>
> http://code.google.com/appengine/docs/python/images/usingimages.html
>
> And I see that the img shows up when the img src= uses the img_id. All
> works fine.
>
> But how do i get that img id into the django template? The template
> doesn't know anything about
>
> greeting.key().
>
> For learning I am updating the helloworld application demo.
>
> I just need to be able to show the image using the django template and
> not have to do the
>
> self.response.out.write manually.
>
> Thanks for any help.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---