Hey folks,
i am really new to django and found this Basic Blog apps. I
implemented a design Template and then I ran into my first problem. On
the left, there is a Menu. I want to show all categories in a list
like in the template category_list.html.
Is there any preffered way to do this?
My base.html contains a {% block menu %}{% endblock %} block.
So I thougt, i have to add a {% block menu %}{% endblock %} also to
the base_blog.html, because i want to see it on every page.
{% block menu %}
<ul class="link_list">
{% for category in object_list %}
<li><a href="{{ category.get_absolute_url }}">{{ category }}</a></
li>
{% endfor %}
</ul>
{% endblock %}
But this is only working onto the
http://localhost:8000/blog/categories/
page. :(
What to do for having the list on every page?
cheers, and thank you in advance,
Lukas