from .models import Question
import json
def index(request):
x = Question.objects.filter(id=1)
y = x[0].question_text
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