Django

Code

Ticket #1827 (closed: fixed)

Opened 3 years ago

Last modified 3 years ago

add a id='csrfmiddlewaretoken' to the csrfmiddlewaretoken key

Reported by: Ian@holsman.net Assigned to: adrian
Milestone: Component: django.contrib.admin
Version: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

Attachments

Change History

05/11/06 16:55:55 changed by lukeplant

  • status changed from new to closed.
  • resolution set to fixed.

(In [2899]) Fixed #1827 - added 'id' attribute to generated CSRF hidden field. Good call, Ian Holsman.


Add/Change #1827 (add a id='csrfmiddlewaretoken' to the csrfmiddlewaretoken key)




Change Properties
Action