#18484: csrfmiddlewaretoken enclosed in redundant invisible div ---------------------------------+------------------------------------ Reporter: hedleyroos@… | Owner: nobody Type: Uncategorized | Status: reopened Component: Uncategorized | Version: 1.4 Severity: Release blocker | Resolution: Keywords: csrf | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+------------------------------------
Comment (by claudep): Replying to [comment:1 lukeplant]: > You cannot put the input in without a div due to HTML validity constraints. Placing an input directly inside a form element is not valid in HTML 4/XHTML Strict DTDs. It is accepted in the respective Transitional versions or in HTML5. Do we guarantee Strict conformance in Django? -- Ticket URL: <https://code.djangoproject.com/ticket/18484#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.