From a7793b340c82a9e4201d3644cfb578ba45c4b94d Mon Sep 17 00:00:00 2001 From: Burathar Date: Fri, 17 Jul 2020 19:14:59 +0200 Subject: [PATCH] change import order --- app/models.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/models.py b/app/models.py index 789670d..72514fd 100644 --- a/app/models.py +++ b/app/models.py @@ -1,15 +1,13 @@ from enum import Enum +from secrets import token_hex +from datetime import datetime +from json import JSONEncoder +from flask_login import UserMixin from werkzeug.security import generate_password_hash, check_password_hash -from . import db, login from sqlalchemy.ext.associationproxy import association_proxy from sqlalchemy.sql import func -from secrets import token_hex -from flask_login import UserMixin -import json -from json import JSONEncoder -from datetime import datetime -import pytz from flask_moment import Moment +from app import db, login moment = Moment()