Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Find From Table Django

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
 
PREVIOUS NEXT
Tagged: #Find #From #Table #Django
ADD COMMENT
Topic
Name
8+4 =