.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
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
2 matches
Mail list logo