from .models import Question import json def index(request): x = Question.objects.get(id=1) y = x.question_text #get is used if you only want one result