Re: Support HTML5 syntax

2014-08-17 Thread Jesús Lucas Flores
You can use Django Crispyforms El 17/08/2014 22:43, "Florian Apolloner" escribió: > > > On Sunday, August 17, 2014 7:33:17 PM UTC+2, noegry wrote: >> >> It might cause issues when templates are using HTML5 syntax but forms are >> using XHTML syntax? >> > > The forms are not using XHTML syntax per

Re: Support HTML5 syntax

2014-08-17 Thread Florian Apolloner
On Sunday, August 17, 2014 7:33:17 PM UTC+2, noegry wrote: > > It might cause issues when templates are using HTML5 syntax but forms are > using XHTML syntax? > The forms are not using XHTML syntax per se, they are valid HTML5 and valid XHTML! -- You received this message because you are sub

Re: Support HTML5 syntax

2014-08-17 Thread Aymeric Augustin
Browsers are extremely good at parsing whatever gets thrown at them. They accept a mix of self-closing and unclosed tags easily. If you can describe a use case where self-closing tags create an actual, reproducible problem, then we'll have a discussion. If you were just asking for the purity of

Re: Support HTML5 syntax

2014-08-17 Thread noegry
But I don't sure that when it's using XHTML and HTML5 syntax together and it should use one syntax for rending views. It might cause issues when templates are using HTML5 syntax but forms are using XHTML syntax? On Sunday, August 17, 2014 10:28:43 PM UTC+8, Florian Apolloner wrote: > > That is n

Re: Support HTML5 syntax

2014-08-17 Thread Florian Apolloner
That is not just XHTML but perfectly valid HTML5. Cheers, Florian On Sunday, August 17, 2014 8:30:33 AM UTC+2, noegry wrote: > > Could Django provides a way to render forms in HTML5 syntax? It now render > forms in XHTML syntax as > > Or could it in the settings provides an option as USE_HTML5

Support HTML5 syntax

2014-08-17 Thread noegry
Could Django provides a way to render forms in HTML5 syntax? It now render forms in XHTML syntax as Or could it in the settings provides an option as USE_HTML5 for applying that? -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubs