One or two modifications on the list template.
This commit is contained in:
parent
b0b85bbd8a
commit
b8656da42d
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue