summaryrefslogtreecommitdiff
path: root/routes/create.py
diff options
context:
space:
mode:
authorMarjo Murtomäki <mmurtoma@local>2023-11-27 20:06:59 +0200
committerMarjo Murtomäki <mmurtoma@local>2023-11-27 20:06:59 +0200
commitd6c73dbde8a35905a8f29caf9b6d088043a5e78f (patch)
tree3c01dbdc1da03d25bb999c10496c93a9f1ef4fbe /routes/create.py
parentc618290a4476fd01f46b079e8b95bbc16341cbca (diff)
Fixing so that the code will run again after adding csrf checks.
Diffstat (limited to 'routes/create.py')
-rw-r--r--routes/create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/create.py b/routes/create.py
index c218d1f..083cc0e 100644
--- a/routes/create.py
+++ b/routes/create.py
@@ -1,7 +1,7 @@
from app import app
from flask import render_template,session,request,redirect
import db_actions as D
-from routes.tools import rows2dicts, get_alert, get_nick, generate_link, red
+from routes.tools import rows2dicts, get_alert, get_nick, generate_link, csrf_check
@app.route("/pages/create.html")