H
H
Hooxy2021-11-03 19:21:47
Django
Hooxy, 2021-11-03 19:21:47

What is the correct way to display size on the page using {% for in%} or {% if %}?

The problem is that I don't really understand how to correctly display a dropdown list from the database using django

models:
6182b66cdd944941852383.png

html:
6182b6b1dbd1f987234201.png

This is how it looks in the browser:
6182b7abf0a89280112654.png

I need to be able to select a number from the SIZE size table in the list

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question