Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

access django object in html

     data = model1.objects.all()
     return TemplateResponse(request, 'index.html', {'data': data})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #django #object #html
ADD COMMENT
Topic
Name
4+6 =