One or two modifications on the list template.

This commit is contained in:
Fred Pauchet 2012-11-18 20:58:54 +01:00
parent b0b85bbd8a
commit b8656da42d
2 changed files with 1 additions and 2 deletions

View File

@ -68,8 +68,6 @@ def query(request):
tags_list = Tag.objects.filter(t)
print tags_list
cards_list = Card.objects.filter(q)
cards = pagination(cards_list, request)

View File

@ -43,6 +43,7 @@
<fieldset>
<legend>Tags</legend>
<ul class="tags content">
{% for tag in tags_list %}
<li><a href="{% url list-by-tag tag.id %}">{{ tag.label }}</a></li>