more readable imports

This commit is contained in:
stef 2016-08-20 19:37:22 +02:00 committed by Stephane Martin
parent 2731531768
commit 6a043f4a7d
18 changed files with 32 additions and 32 deletions

View file

@ -1,5 +1,5 @@
from __future__ import absolute_import
from ..models import Auth
from realms.modules.auth.models import Auth
Auth.register('local')

View file

@ -2,10 +2,10 @@ from __future__ import absolute_import
import click
from realms import cli_group
from realms.lib.util import random_string
from realms.lib.util import green, red, yellow
from .models import User
from ....lib.util import random_string
from ....lib.util import green, red, yellow
from .... import cli_group
@cli_group(short_help="Auth Module")

View file

@ -8,7 +8,7 @@ from itsdangerous import URLSafeSerializer, BadSignature
from realms import login_manager, db
from realms.lib.model import Model
from ..models import BaseUser
from realms.modules.auth.models import BaseUser
from .forms import LoginForm