dependent dropdown 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 %}