mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
- MIDDLEWARE_CLASSES is replaced by MIDDLEWARE - add MiddlewareMixin to modoboa middlewares - on_delete will become a required parameter for ForeignKey() set it to the current default CASCADE - on_delete will become a required parameter for OneToOneField() set it to the current default CASCADE - reverse and reverse_lazy have moved to django.urls - RadioChoiceInput widget has been removed, replace with HorizontalRadioSelect
7 lines
339 B
HTML
7 lines
339 B
HTML
{% with id=widget.attrs.id %}<div{% if id %} id="{{ id }}"{% endif %}{% if widget.attrs.class %} class="{{ widget.attrs.class }}"{% endif %}>
|
|
{% for group, options, index in widget.optgroups %}
|
|
{% for option in options %}
|
|
{% include option.template_name with widget=option %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>{% endwith %} |