Re: attribute required and error XML

2017-03-02 Thread chun974
Thanks, ludovic coues, I have find the solution. I used eclipse whith django. In the setting.py I have modify (DEFAULT_CONTENT_TYPE='application/xhtml+xml') to (DEFAULT_CONTENT_TYPE='text/html'). It's OK with this. You're right!! Thanks :) ! Le mercredi 1 mars 2017 10:53:54 UTC+1, ludovic coues

Re: attribute required and error XML

2017-03-01 Thread ludovic coues
I can't answer on your issue exactly, but is not an XML doctype. It's the html5 doctype which as far as I know is SGML and not XML. Try removing the line starting with wrote: Hi all, I have an problem. When I use the django library form, It create an attribute "required" for an input. But whe

attribute required and error XML

2017-02-28 Thread chun974
Hi all, I have an problem. When I use the django library form, It create an attribute "required" for an input. But when I look on my explorer (firefox or chrome or IE) i have a XML error. "XML parsing error: malformed". this is my code : " class LoginForm(forms.Form): email = forms.Emai