I\'m not sure if its 2 questions, but I need to see the values of my python code being executed at runtime. Can anyone tell me how this works? Does the python get executed on th
Python code is executed on the server. The generated html is sent to the client. In the code you have posted {url_static} is meant to be replaced with the actual value, but probably doesn't work since django template looks for variables as {{ url_static }}
. Notice the double braces.
Your datepicker isn't working since jquery isn't loaded. You can view source (or inspect element) for your rendered page and confirm if the script src is correct.