#15493: extras/csrf_migration_helper.py parsing improvement
---------------------------+------------------------------------------------
Reporter: john | Owner: nobody
Status: new | Milestone:
Component: Uncategorized | Version: 1.2
Keywords: CSRF | Triage Stage: Unreviewed
Has patch: 1 |
---------------------------+------------------------------------------------
The extras/csrf_migration_helper.py script requires that the {% csrf_token
%} template tag appear on the same line as the opening <form> tag.
This patch reworks the parsing to find the token anywhere within the form.
--
Ticket URL: <http://code.djangoproject.com/ticket/15493>
Django <http://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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.