@canonical(Category)
def view(request, category):
    return render(request, 'categories/view.html', {
        'title': category.name,
        'category': category,
        'articles': Article.objects.select_related('author','author__profile','category').filter(category=category, status=Article.PUBLISHED),
    })
Display articles filed under the specified category.
dataset/ETHPy150Open 2buntu/2buntu-blog/twobuntu/categories/views.py/view