summaryrefslogtreecommitdiff
path: root/routes/create.py
diff options
context:
space:
mode:
authorArvid Koskinen <akoskine@local>2023-12-03 11:34:39 +0200
committerArvid Koskinen <akoskine@local>2023-12-03 11:34:39 +0200
commit14365bb113400e576157be9da384c7bf0d80255c (patch)
tree466ff1def0d5c07baa13dcb40504b5fc456d6683 /routes/create.py
parent23518a49f95837199036e07deb4a97cad9e871bd (diff)
Move DB stuff inside a class for further refactoring.
Diffstat (limited to 'routes/create.py')
-rw-r--r--routes/create.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/routes/create.py b/routes/create.py
index 2de8e27..af2e25e 100644
--- a/routes/create.py
+++ b/routes/create.py
@@ -1,6 +1,5 @@
-from app import app
+from app import app, D
from flask import render_template,session,request,redirect
-import db_actions as D
from routes.tools import rows2dicts, get_alert, get_nick, generate_link, csrf_check