diff --git a/{{cookiecutter.project_shortname}}/{{cookiecutter.package_name}}/config.py b/{{cookiecutter.project_shortname}}/{{cookiecutter.package_name}}/config.py index c2ea5f3..0afb926 100644 --- a/{{cookiecutter.project_shortname}}/{{cookiecutter.package_name}}/config.py +++ b/{{cookiecutter.project_shortname}}/{{cookiecutter.package_name}}/config.py @@ -113,6 +113,11 @@ def _(x): {%- elif cookiecutter.database == 'mysql'%} SQLALCHEMY_DATABASE_URI = \ 'mysql+pymysql://{{cookiecutter.project_shortname}}:{{cookiecutter.project_shortname}}@localhost/{{cookiecutter.project_shortname}}' + +# Disable Flask-DebugToolbar SQLAlchemy pane since it cannnot handle +# UUID in bytes format +# https://github.com/mgood/flask-debugtoolbar/issues/112 +DEBUG_TB_ENABLED = False {%- endif %} # JSONSchemas