

@login_required
def view_revisions(request, question_id):
    context = {
        
    }
    question = Question.objects.get(pk=question_id)
    context['question'] = question
    context['revisions'] = QuestionRevision.objects.filter(question_id=question.id).order_by('date_added')
    return r2r(request, 'view_revisions', context)

dataset/ETHPy150Open dropbox/questions/questions/views.py view_revisions/original