Commit d932cbb9 by Alex Gaynor

small fix

parent 8c443c45
......@@ -11,5 +11,5 @@ def tagged_object_list(request, slug, queryset, **kwargs):
tag = get_object_or_404(Tag, slug=slug)
qs = queryset.filter(pk__in=TaggedItem.objects.filter(
tag=tag, content_type=ContentType.objects.get_for_model(queryset.model)
)
))
return object_list(request, queryset, **kwargs)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment