add a id='csrfmiddlewaretoken' to the csrfmiddlewaretoken key
can you add a 'id' field to the input field that the csrfmiddleware token generates on the page?
That will make it easier to reference for people using json/dojo for other things on the page.
TIA.
Ian
Change History
(3)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Component: |
contrib.admin → contrib.sites
|
Easy pickings: |
unset
|
Summary: |
add a id='csrfmiddlewaretoken' to the csrfmiddlewaretoken key → <div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='57f37ba9b01bdfd535be8764f3329e78' /></div>
|
Severity: |
normal → Normal
|
Summary: |
<div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='57f37ba9b01bdfd535be8764f3329e78' /></div> → add a id='csrfmiddlewaretoken' to the csrfmiddlewaretoken key
|
Type: |
defect → New feature
|
(In [2899]) Fixed #1827 - added 'id' attribute to generated CSRF hidden field. Good call, Ian Holsman.