Macro Rendering Error⚓︎
File: T8_projet\4_flask\flask.md
UndefinedError: 'url_for' is undefined
📋 Texte
Traceback (most recent call last):
File "C:\Users\corte\AppData\Roaming\Python\Python311\site-packages\mkdocs_macros\plugin.py", line 527, in render
return md_template.render(**page_variables)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\corte\AppData\Roaming\Python\Python311\site-packages\jinja2\environment.py", line 1304, in render
self.environment.handle_exception()
File "C:\Users\corte\AppData\Roaming\Python\Python311\site-packages\jinja2\environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "<template>", line 408, in top-level template code
File "C:\Users\corte\AppData\Roaming\Python\Python311\site-packages\jinja2\utils.py", line 83, in from_obj
if hasattr(obj, "jinja_pass_arg"):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jinja2.exceptions.UndefinedError: 'url_for' is undefined