> This is a major clue. Even if nothing was returned from your template tag
> the paragraph text would still show up. My bet is that you don't have a
> Block 'arts' in the "front/index.html." You will need that if you want it to
> display.
> Seehttp://docs.djangoproject.com/en/dev/topics/templates/#template-inher...
>
This indeed is major clue that i did not think of before. But i think
that the problem is not what you think - the arts block is in
front.index.html.
It seems i have some kind of cache problem - since when i comment out
(or delete) lorem ipsum in arts.html -
{% extends "front/index.html" %}
{% block arts %}
{*% lorem 3 p %*}
{% load arts_tag %}
<p>The time is {% current_time "%Y-%m-%d %I:%M %p" %}.</p>
{% endblock %}
The lorem ipsum is still loaded into template and the lorem ipsum is
not in from/index.html
index.html cant be overwriting arts.html either because index.html
only has
{% block arts %}
<p>crap!</p>
{% endblock %}
Thank you, Malcolm for the info about debugging. I'll run searches for
django debugging and see what comes up. But since no changes that i do
in templates are hitting the browser i think the problem could be
something unrelated to the template tags.
Alan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---