app
__init__.py
models.py
views.py
admin
__init__.py
db = SQLAlchemy(app)
login_manager = LoginManager(app)
from app import db, login_manager
from . import db
from . import db
File "C:\Users\xabor\PycharmProjects\flask\TODO-app\app\models.py", line 1, in
from . import app
ImportError: attempted relative import with no known parent package
from .. import app, db, admin