{% for x in data %}
<h3>{{x.name}}</h3>
<h4>{{x.department}}</h4>
{% endfor %}
data = model1.objects.all()
return TemplateResponse(request, 'index.html', {'data': data})
Code Example |
---|
Html :: how to create a video link in html |
Html :: How to start an html |
Html :: contact form |
Html :: html how to make space between words |
Html :: html slider |
Html :: themeforest html |
Html :: html div syntax |
Html :: send html email from outlook |
Html :: tag list |
Html :: how to make things move in unity |
Html :: later synonym |
Html :: signature template html |
Html :: navbar bootstrap 5 |
Css :: how to make image not draggable in html |
Css :: overflow dottet |
Css :: css text cut dots |
Css :: text align left top |
Css :: not last child css |
Css :: css alternate row color |
Css :: css flex center horizontally and vertically |
Css :: 2 lines paragraph |
Css :: how to add a text bar blinking animation in css |
Css :: center position absolute |
Css :: responsive css |
Css :: tint png white css |
Css :: css reset |
Css :: css smooth transition in and out |
Css :: reset link style css |
Css :: css width fit to content |
Css :: set border color of svg |