Skip to content
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

Monitor and fix Django input widget #7

Open
Mischback opened this issue Apr 17, 2018 · 1 comment
Open

Monitor and fix Django input widget #7

Mischback opened this issue Apr 17, 2018 · 1 comment
Labels
bug Something isn't working depends-on-django This depends on fixes / code from Django itsself html5 Things related to HTML5

Comments

@Mischback
Copy link
Owner

As of this writing (currently: Django 2.0.4), while rendering forms with Django, the file https://github.com/django/django/blob/2.0.4/django/forms/templates/django/forms/widgets/input.html is used. It appends a trailing slash to input-widgets, which is not fully html5-compliant.

However, in master, this issue is already fixed and should be included NLT Django 2.1.0.

Currently, the form-widgets are included in the html-templates manually, meaning that they are hardcoded. Of course, this has to be changed to return to {{ form.field }} again.

@Mischback Mischback added bug Something isn't working html5 Things related to HTML5 depends-on-django This depends on fixes / code from Django itsself labels Apr 17, 2018
@Mischback
Copy link
Owner Author

Files that need changes

  • templates/auth_enhanced/login.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working depends-on-django This depends on fixes / code from Django itsself html5 Things related to HTML5
Projects
None yet
Development

No branches or pull requests

1 participant