From de8d521afb60a9055b398aa39d3b39a810b19f27 Mon Sep 17 00:00:00 2001 From: nvalis Date: Fri, 12 May 2017 13:57:21 +0200 Subject: [PATCH] Add secret key for csrf token --- app/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/__init__.py b/app/__init__.py index 0005f6b..2a4f5d1 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,4 +1,9 @@ from flask import Flask app = Flask(__name__) +app.config.update( + DEBUG=True, + SECRET_KEY='you-will-never-guess' +) + from app import views \ No newline at end of file