added beginnings of tree view for categories

This commit is contained in:
shane committed 2013-07-24 21:34:53 +10:00
1 parent e0e97b23e2
commit 798ab9cbbe
2 files changed
+8

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
<ul>
{% for child in children %}
<li> <a href="{{ child.get_absolute_url }}">{{ child }}</a></li>
{% child.children.count > 0 %}
{% children_list child %}
{% endfor %}
</ul>
+1
View File
@@ -0,0 +1 @@
{% children_tag parent %}