Hi,
I think I must be misunderstanding something fundamental!
I am doing this: using GAE+Python Django templates to load up dialog
fields which are then managed by the YUI container widget. This works
fine for the load. On 'submit' the correct values are posted correctly
back to my python request handler. However I then want to display some
further content :
       template_date ={ .... some new stuff ....}
        template_path = os.path.join(os.path.dirname(__file__),
'myfile.html')
        self.response.headers['Content-Type'] = 'text/html'
        self.response.out.write(template.render(template_path,
template_data))

This outputs the correct response, myfile.html but  dumps it to the
console rather than rendering it in the browser. I have been round and
round this without success. (btw I have stripped myfile.html to just
printing out 'hello world' without success). I don't have to add
myfile.html to app.yaml do I?  Any insight so welcome.

                                                Alex

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