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

Commit

Permalink
using updated flask import syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Bibhas committed May 3, 2017
1 parent 3ff373f commit 806911e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion alembic/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from alembic.config import Config
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
4 changes: 2 additions & 2 deletions kharcha/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from pytz import timezone
from flask import Flask
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 baseframe import baseframe, assets, Version
import coaster.app
from ._version import __version__
Expand Down
2 changes: 1 addition & 1 deletion kharcha/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

from flask.ext.sqlalchemy import SQLAlchemy
from flask_sqlalchemy import SQLAlchemy
from kharcha import app
from coaster.sqlalchemy import BaseMixin, BaseNameMixin, BaseScopedNameMixin, BaseScopedIdNameMixin

Expand Down
2 changes: 1 addition & 1 deletion kharcha/models/user.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

from flask.ext.lastuser.sqlalchemy import UserBase, TeamBase
from flask_lastuser.sqlalchemy import UserBase, TeamBase
from kharcha.models import db

__all__ = ['User', 'Team']
Expand Down
2 changes: 1 addition & 1 deletion kharcha/models/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from pytz import timezone
from werkzeug import cached_property
from flask.ext.lastuser.sqlalchemy import ProfileMixin
from flask_lastuser.sqlalchemy import ProfileMixin
from kharcha.models import db, BaseNameMixin, Team

__all__ = ['Workspace']
Expand Down

0 comments on commit 806911e

Please sign in to comment.