summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--frest/auth/forms.py2
-rw-r--r--frest/auth/routes.py2
-rw-r--r--frest/decorators.py2
-rw-r--r--frest/templates/app.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/frest/auth/forms.py b/frest/auth/forms.py
index abc2f49..ce48acb 100644
--- a/frest/auth/forms.py
+++ b/frest/auth/forms.py
@@ -1,5 +1,5 @@
from .models import User
-from forms import ModelForm
+from frest.forms import ModelForm
class UserForm(ModelForm):
diff --git a/frest/auth/routes.py b/frest/auth/routes.py
index af4c2b9..cb3f85c 100644
--- a/frest/auth/routes.py
+++ b/frest/auth/routes.py
@@ -1,5 +1,5 @@
from flask import Blueprint, request, abort
-from utils import http_call, model_serialize
+from frest.utils import http_call, model_serialize
from frest.decorators import check_token, admin_required
from .models import User, Token
from .forms import UserForm
diff --git a/frest/decorators.py b/frest/decorators.py
index 7ce79d7..6f73a43 100644
--- a/frest/decorators.py
+++ b/frest/decorators.py
@@ -1,5 +1,5 @@
from flask import request, abort
-from auth.models import Token
+from frest.auth.models import Token
from functools import wraps
diff --git a/frest/templates/app.txt b/frest/templates/app.txt
index 9719b87..3f829e0 100644
--- a/frest/templates/app.txt
+++ b/frest/templates/app.txt
@@ -6,7 +6,7 @@ from database import config as db_config
from mail import mail
from mail import config as mail_config
from flask_sqlalchemy import SQLAlchemy
-from utils import http_call
+from frest.utils import http_call
from flask_cors import CORS
import os