Hi Guys,

First of all I am a newbie, but I still hope you can help me...


I have created an app with a template - this works! :-)
--------------------------------------------------------------------------------
class MainHandler(webapp.RequestHandler):

  def get(self):
    self.response.out.write(
                template.render('base.html',''))
--------------------------------------------------------------------------------


In my main.html I have the following:
--------------------------------------------------------------------------------
<div class="container">
        {% block content %}

        {% endblock %}
</div>
--------------------------------------------------------------------------------


And then ind my content.html i have:
--------------------------------------------------------------------------------
{% extends 'base.html' %}
{% block content %}
som HTML
{% endblock %}
--------------------------------------------------------------------------------

But it just won't show up on my base.html page... Why why??

Any ideas???

Kind Regards

// Morten

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to