summaryrefslogtreecommitdiff
path: root/app/links/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/links/views.py')
-rw-r--r--app/links/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/links/views.py b/app/links/views.py
index 2c74509..ebde61c 100644
--- a/app/links/views.py
+++ b/app/links/views.py
@@ -19,7 +19,8 @@ class LinkTagListView(PaginatedListView):
template_name = 'archives/links.html'
def get_queryset(self):
- return Link.objects.filter(tags__name=self.kwargs['slug'])
+ print(self.kwargs['slug'])
+ return Link.objects.filter(tags__slug=self.kwargs['slug'])
def get_context_data(self, **kwargs):
# Call the base implementation first to get a context