@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),
    })
Return a file object if we're activated.
dataset/ETHPy150Open 2buntu/2buntu-blog/twobuntu/categories/views.py/view--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/core/files/uploadhandler.py/MemoryFileUploadHandler.file_complete