On Dec 9, 2006, at 10:56 AM, mezhaka wrote:
>
> try
> {% extends "/blog/base.html" %}
> instead of
> {% extends "/blog/base" %}
In addition, he should remove the leading '/' from the path in the
extends clause. If you code a leading slash, os.path.join() ignores
the template path.
Don
-
Hi Baurzhan,
On 12/10/06, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote:
> Hello Kai,
>
> On Sun, Dec 10, 2006 at 12:23:09AM +0100, Kai Kuehne wrote:
> > > {% extends "/blog/base" %}
> > Doesn't work.
>
> {% extends "blog/base.html" %} works for me.
Ok, it was the leading slash, thanks! :)
> Wi
Hello Kai,
On Sun, Dec 10, 2006 at 12:23:09AM +0100, Kai Kuehne wrote:
> > {% extends "/blog/base" %}
> Doesn't work.
{% extends "blog/base.html" %} works for me.
With kind regards,
--
Baurzhan Ismagulov
http://www.kz-easy.com/
--~--~-~--~~~---~--~~
You receiv
Sorry, forget to paste the blog/base.html. So, here it is:
{% load comments.comments %}
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";>
My django blog: {% block title %}Generic Page{%
endblock %}
{% block extrahead %}{%
Hi,
On 12/9/06, mezhaka <[EMAIL PROTECTED]> wrote:
>
> try
> {% extends "/blog/base.html" %}
> instead of
> {% extends "/blog/base" %}
Doesn't work.
Kai
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django user
try
{% extends "/blog/base.html" %}
instead of
{% extends "/blog/base" %}
by the way what does the blog/base.html looks like?
On Dec 9, 8:10 pm, "Kai Kuehne" <[EMAIL PROTECTED]> wrote:
> Hi list!
> I've got a problem:
>
> settings.py:
> TEMPLATE_DIRS = ( '/home/kai/Projekte/kaikuehne/template
Hi list!
I've got a problem:
settings.py:
TEMPLATE_DIRS = ( '/home/kai/Projekte/kaikuehne/templates' )
home.html:
{% extends "/blog/base" %}
I get the following error:
"Template '/blog/base' cannot be extended, because it doesn't exist"
But, the file does exist:
$ ls -l /home/
7 matches
Mail list logo