0

How to pass python var in html?

Python variables parsing through html

29th Jul 2018, 6:05 AM
Nishkarsh Gupta
Nishkarsh Gupta - avatar
1 Respuesta
+ 1
In a view you pass a dictionary containing your variables using render() . Then the variables should be available in the template as long as they are placed in {{ }}
30th Jul 2018, 5:54 AM
JME