1๐
โ
<select>
{% for user in users %}
{% if id == user.id %}<option selected>{% else %}<option>{% endif %}{{ user.first_name }}</option>
{% endfor %}
</select>
๐คJ. Ghyllebert
Source:stackexchange.com