Fix isort
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
@@ -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.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user