diff --git a/sqlalchemy_utils/primitives/country.py b/sqlalchemy_utils/primitives/country.py index 95e47ec..d874182 100644 --- a/sqlalchemy_utils/primitives/country.py +++ b/sqlalchemy_utils/primitives/country.py @@ -1,4 +1,5 @@ import six + from sqlalchemy_utils import i18n from sqlalchemy_utils.utils import str_coercible diff --git a/sqlalchemy_utils/types/country.py b/sqlalchemy_utils/types/country.py index 1b310a6..dd05fa1 100644 --- a/sqlalchemy_utils/types/country.py +++ b/sqlalchemy_utils/types/country.py @@ -2,13 +2,14 @@ import six from sqlalchemy import types from sqlalchemy_utils.primitives import Country + from .scalar_coercible import ScalarCoercible class CountryType(types.TypeDecorator, ScalarCoercible): """ 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.