

@cache_page((60 * 10))
def tag_display(request, slug=None):
    '\n    Shows all articles and blog entries with a specific tag, sorted by date.\n    '
    tag = get_object_or_404(Tag, slug=slug)
    articles = Article.get_published.filter(tags__in=[tag]).distinct()
    blog_entries = Entry.get_published.filter(tags__in=[tag]).distinct()
    items = itertools.chain(articles, blog_entries)
    items = list(items)
    items.sort(key=(lambda x: normalize_to_datetime(x.pub_date)), reverse=True)
    page = {
        'items': items,
        'tag': tag,
    }
    return render_to_response('tagging/archive.html', page, context_instance=RequestContext(blog_entries))

dataset/ETHPy150Open albatrossandco/brubeck_cms/brubeck/tagging/views.py tag_display/VarMisuse@143/209 `request`->`blog_entries`