New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed #29038 -- Removed closing slash from HTML void tags. #9602
Conversation
I am +1 on this as frankly XHTML has been dead for a long time and I think that XHTML5 is wishful thinking. This should be mentioned in the backwards incompatibility section of the release notes as this will break things for anyone using XHTML with Django (assuming there is anyone). The changes in templates are easily reversed by overriding them in a project, but the modifications to tags generated in Python code are not. |
I'm happy to add to the backwards incompatible section. However, Django is already using HTML5 features that are incompatible with XHTML. For example, boolean attributes for |
Added a backwards incompatible note. Let me know what you think of the wording. I can easily tweak it if necessary. Thanks. |
Fair point. I grepped the documentation, here are the most relevant bits:
Based on previous release notes, it feels right to at least make a mention of the incompatibility - what you've added looks fine. |
This allows retrieving an admin class for the given model class without using internal attributes.
This allows retrieving an admin class for the given model class without using internal attributes.
This allows retrieving an admin class for the given model class without using internal attributes.
This allows retrieving an admin class for the given model class without using internal attributes.
…django.contrib.admin.exceptions.
…django.contrib.admin.exceptions.
https://code.djangoproject.com/ticket/29038