You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That way, any normal Django Form or ModelForm object is rendered, using the template found in django/forms/default.html (what I want).
But I don't get that behaviour using a MultiModelForm, it seems it uses a as_table() Django rendering.
How should I configure my project sothat all forms (django and multiforms) use my default template?
The text was updated successfully, but these errors were encountered:
ddahan
changed the title
Support of Django 4.0 template_name attribute?
No use of default rendering?
Oct 10, 2022
Django version : 4.1
I used a
MultiModelForm
and everything seems to work, except that it does not use the right rendering engine.My project is configured in settings.py with :
That way, any normal Django
Form
orModelForm
object is rendered, using the template found indjango/forms/default.html
(what I want).But I don't get that behaviour using a
MultiModelForm
, it seems it uses aas_table()
Django rendering.How should I configure my project sothat all forms (django and multiforms) use my default template?
The text was updated successfully, but these errors were encountered: