So, looking at porting my app from flask to Sanic. For better or worse, I had written my initial flask app with jinja2 templates that contain url_for which seemed like a good idea at the time…now, not so much. I have url_for working just fine in the python code.
Jinja parses and hits the url_for and asks me what I’m smoking as it doesn’t recognize that. Anyone offer me any tips to mitigate this issue besides a lot of search/replace with “real” html links in my templates?