Hi Morten,

Not sure if it's a typo or not, but the issue might be the template
you're rendering with MainHandler. Try template.render
('content.html',''))

On Mar 9, 12:05 am, Morten Bruhn <superbr...@gmail.com> wrote:
> 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