from django.http import HttpResponse from django.shortcuts import render from .models import Groups def index(request): #latest_question_list = Question.objects.order_by('-pub_date')[:5] return render(request, 'groups/index.html')