Re: django context data into javascript

2020-02-25 Thread 'Artem Vasin' via Django users
.js files, even if linked in Django templates are not processed by template engine. To output value from context to file, this file should be an output from template engine. You have three ways to solve your problem: Make your myjs.js file generated by template processor. It’s most difficult and

Re: Request to disallow using django name in third party django packages name

2020-02-20 Thread 'Artem Vasin' via Django users
Hi! Tl;dr no I don’t think so, actually it’s very useful. IMHO, you are barking at the wrong tree. As I see it, and I think many would agree with me, using third-party libraries instead of implementing your own, are the way to go in Django and Python and open-source community in general. It gi