summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <dcariotti24@gmail.com>2020-03-20 12:49:59 +0100
committerSanto Cariotti <dcariotti24@gmail.com>2020-03-20 12:49:59 +0100
commita347c3cb31d1ca39dc89cecd427b700babddf0db (patch)
treee5897406981783c8bc93ac82fabe01f7749e5df3
parentd880d90e6d6d0cade731ae43ab40934928c20ba4 (diff)
chore: fix import on a template
-rw-r--r--src/frest/templates/routes.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frest/templates/routes.txt b/src/frest/templates/routes.txt
index a24a3b1..11ba63a 100644
--- a/src/frest/templates/routes.txt
+++ b/src/frest/templates/routes.txt
@@ -1,6 +1,6 @@
from flask import Blueprint, request, abort
-from fapi.utils import http_call, model_serialize
-from fapi.decorators import check_token, admin_required
+from frest.utils import http_call, model_serialize
+from frest.decorators import check_token, admin_required
from .models import %%NAME%%
from .forms import %%NAME%%Form
from database import db