

@login_required
def view_orphans(request):
    context = {
        
    }
    approved_questions = Question.objects.filter(status__exact='Approved', groups=None)
    pending_questions = Question.objects.filter(status__exact='Pending', groups=None)
    banned_questions = Question.objects.filter(status__exact='Banned', groups=None)
    context['approved_questions'] = approved_questions
    context['pending_questions'] = pending_questions
    approved_questions['banned_questions'] = banned_questions
    return r2r(request, 'view_orphans', context)

dataset/ETHPy150Open dropbox/questions/questions/views.py view_orphans/VarMisuse@85/124 `context`->`approved_questions`