how to fetch all brands name dynamically from databse to html in django code example
Example: dropdown using ajax and django
{% for c in colors %} <option value="{{ c.color }}">{{ c.color|title }}</option>{% endfor %}
{% for c in colors %} <option value="{{ c.color }}">{{ c.color|title }}</option>{% endfor %}