Den 13. aug. 2018 14:52, skrev Tim Graham: > Another discussion about HTML vs XHTML > isĀ https://groups.google.com/d/topic/django-developers/EdwwxxqcKVU/discussion. > > I think if you want to use XHTML, Django should make is possible, but > as it seems the majority of projects use HTML5, I would stick to that > as the default. > > Have you tried creating custom widget templates for XHTML? > https://docs.djangoproject.com/en/stable/ref/forms/renderers/
By making simple changes to the HTML that Django, by default, uses we can make it work for both XHTML5 and HTML5. When there is a choice between making in work for one case and making it work for both cases, why make it work for only one? I have created a pull-request for this, and an issue (#29681), which was prematurely closed as wontfix. Regards -- Nils Fredrik Gjerull ----------------------------- "Ministry of Eternal Affairs" Computer Department ( Not an official title :) ) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/c4418411-9d1b-0ebf-e686-5cbaca633277%40gjerull.net. For more options, visit https://groups.google.com/d/optout.
