Half of my Flask routes requires a variable say, /<variable>/add
or /<variable>/remove
. How do I create links to those locations?
url_for()
takes one argument for the function to route to but I can’t add arguments?
Half of my Flask routes requires a variable say, /<variable>/add
or /<variable>/remove
. How do I create links to those locations?
url_for()
takes one argument for the function to route to but I can’t add arguments?