Re: HTML5 and XHTML5 documents

2018-08-23 Thread Carlton Gibson
Hi Nils. 

Tim's original advice still stands: 

> Have you tried creating custom widget templates for XHTML?
> https://docs.djangoproject.com/en/stable/ref/forms/renderers/

Once you have widget templates in place, if there are particular issues you 
are facing we can consider them 
but the summary here seems to be that there's little desire to do anything 
further. 

Kind Regards,

Carlton

-- 
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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
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/7edb2e61-db12-44b9-bedf-f06addf0f1e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: HTML5 and XHTML5 documents

2018-08-23 Thread Nils Fredrik Gjerull
How can we move forward on supporting XML serialization of HTML5 (XHTML5)?

When I created the pull-request I did not think it would be very
controversial. After all, the XML style of writing HTML has been used
for years. I guess many are not aware that HTML5 comes in two flavors
and it creates confusion.

My proposal is.
- Use the SGML serialization for the admin and the docs.
- Add some information about the two serializations of HTML5 to the docs.
- Make the Django core output XML compatible HTML as both flavors of
HTML5 supports it. This is mainly the forms library, I think.
- Add some tests to check that both serializations are supported.

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 django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
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/c90d7c5d-dc7a-2091-e1ba-67e70fc4de99%40gjerull.net.
For more options, visit https://groups.google.com/d/optout.