Fix isort

This commit is contained in:
Konsta Vesterinen
2015-04-15 11:04:32 +03:00
parent 07c43a91cf
commit 0c1b175e98
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import six import six
from sqlalchemy_utils import i18n from sqlalchemy_utils import i18n
from sqlalchemy_utils.utils import str_coercible from sqlalchemy_utils.utils import str_coercible

View File

@@ -2,13 +2,14 @@ import six
from sqlalchemy import types from sqlalchemy import types
from sqlalchemy_utils.primitives import Country from sqlalchemy_utils.primitives import Country
from .scalar_coercible import ScalarCoercible from .scalar_coercible import ScalarCoercible
class CountryType(types.TypeDecorator, ScalarCoercible): class CountryType(types.TypeDecorator, ScalarCoercible):
""" """
Changes :class:`.Country` objects to a string representation on the way in Changes :class:`.Country` objects to a string representation on the way in
and changes them back to :class:`.Country` objects on the way out. and changes them back to :class:`.Country objects on the way out.
In order to use CountryType you need to install Babel_ first. In order to use CountryType you need to install Babel_ first.