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

Is there a way to put variables in an attribute value? #20

Closed
FlaviuSim opened this issue Mar 4, 2011 · 1 comment
Closed

Is there a way to put variables in an attribute value? #20

FlaviuSim opened this issue Mar 4, 2011 · 1 comment

Comments

@FlaviuSim
Copy link

How can I write something that outputs this:

<input type='hidden' name='csrfmiddlewaretoken' value='bb2bc91aba0f29f3aacae0029a822dc9' />

where the value of the value attribute is {{ csrf_token }} in django's templates.

@FlaviuSim
Copy link
Author

Issue 13 already addresses this and I mistakenly did not read it before I posted.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant