How to call controller function from template in Django? -


How to call the controller function from a template in the widget instead of the hardcode URI?

I think you mean "link to it"

This {% url%} tag,

If your desire is to call the visual function directly, then it is not possible by design - view the template Do not know about it, it's a different layer.


Comments