Полезные материалы по всему, что может быть полезно питонисту.
How to Safely Pass Data to JavaScript in a Django Template - Adam Johnson You want to pass your data from your Django view to JavaScript, in your template. And, you want to do it securely, with no risk of accidentally allowing malicious code injection. Great, this is the post for you!
You want to pass your data from your Django view to JavaScript, in your template. And, you want to do it securely, with no risk of accidentally allowing malicious code injection. Great, this is the post for you!