Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Commit

Permalink
Change to new import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jace committed May 3, 2017
1 parent 3c54b4c commit fb2abc7
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion alembic/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from alembic import context
from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
from flask.ext.alembic import FlaskAlembicConfig
from flask_alembic import FlaskAlembicConfig

# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
Expand Down
6 changes: 3 additions & 3 deletions manage.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env python

from flask.ext.script import Manager, Server, Option, prompt_bool
from flask.ext.script.commands import Clean, ShowUrls
from flask.ext.alembic import ManageMigrations, FlaskAlembicConfig
from flask_script import Manager, Server, Option, prompt_bool
from flask_script.commands import Clean, ShowUrls
from flask_alembic import ManageMigrations, FlaskAlembicConfig
from alembic import command

from peopleflow import app, init_for
Expand Down
8 changes: 4 additions & 4 deletions peopleflow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

from os import environ
from flask import Flask
from flask.ext.assets import Environment, Bundle
from flask.ext.lastuser import Lastuser
from flask.ext.lastuser.sqlalchemy import UserManager
from flask.ext.mail import Mail, Message
from flask_assets import Environment, Bundle
from flask_lastuser import Lastuser
from flask_lastuser.sqlalchemy import UserManager
from flask_mail import Mail, Message
from baseframe import baseframe, assets, Version
import coaster.app
from ._version import __version__
Expand Down
2 changes: 1 addition & 1 deletion peopleflow/models/user.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
from flask import g
from flask.ext.lastuser.sqlalchemy import UserBase
from flask_lastuser.sqlalchemy import UserBase
from . import db


Expand Down
2 changes: 1 addition & 1 deletion peopleflow/views/kiosk.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from coaster.utils import make_name
from coaster.views import jsonp, load_model, load_models
from coaster.gfm import markdown
from flask.ext.mail import Mail, Message
from flask_mail import Mail, Message


@app.route('/event/<id>/kiosk/new', methods=['GET', 'POST'])
Expand Down
4 changes: 2 additions & 2 deletions peopleflow/views/login.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-

from flask import redirect, flash, Markup, escape
from flask.ext.lastuser import LastUser
from flask.ext.lastuser.sqlalchemy import UserManager
from flask_lastuser import LastUser
from flask_lastuser.sqlalchemy import UserManager
from coaster.views import get_next_url

from .. import app
Expand Down

0 comments on commit fb2abc7

Please sign in to comment.