Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Get First In Table Django


from .models import Question

import json



def index(request):
    
    x = Question.objects.all()
    y = x[0].id
    
 
PREVIOUS NEXT
Tagged: #Get #First #In #Table #Django
ADD COMMENT
Topic
Name
7+8 =