Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Get Result From Table Django

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
 
 
PREVIOUS NEXT
Tagged: #Get #Result #From #Table #Django
ADD COMMENT
Topic
Name
3+1 =