Curious one - how do you set a javascript variable’s name to that of a Django variable?
I need something like:
var “{{django_variable}}” =
I’ve tried this but the script just sees var “” =
Any pointers?
Curious one - how do you set a javascript variable’s name to that of a Django variable?
I need something like:
var “{{django_variable}}” =
I’ve tried this but the script just sees var “” =
Any pointers?