On 1/30/06, PythonistL <[EMAIL PROTECTED]> wrote:
> I have the Index1.html
> ##################Index1.html#############
> {% extends "board/test" %}
>  {% block title %}Tittle from Index.html {% endblock %}
> This is a text from Index1.html
>  {%block mine%}Hello from Index1{%endblock%}
> Text at the end
> ##################
>
> and a test.html file
> ###################test.html####################
>
>     <head>
> <title>
> {% block title %}Tittle from test.html{% endblock %}
> </title>
>     </head>
>     <body>
> This is a text from test.html
> {%block mine%}Hello from test.html {%endblock%}
>     </body>
> ########################
> I use this view with the template
>
> ############
> def TestTemplate(request):
>         return render_to_response('board/Index1')
> ############

Make sure test.html is in a "board" directory, just like your
Index1.html template is.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to