Closed carloscarvallo closed 5 years ago
debug de Flask
File "/Users/xxx/web-python/src/templates/propuestas.html", line 1, in top-level template code
{% extends "layout.html" %}
File "/Users/xxx/web-python/src/templates/layout.html", line 50, in top-level template code
{% block body %}{% endblock %}
File "/Users/xxx/web-python/src/templates/propuestas.html", line 5, in block "body"
{% if message.success == True %}
File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 430, in getattr
return getattr(obj, attribute)
jinja2.exceptions.UndefinedError: 'message' is undefined