from .models import Question
import json
def index(request):
x = Question.objects.get(id=1, question_text='testtest')
y = x.question_text
return HttpResponse(y)
#below is how you can query a table using multiple criteria