diff options
| author | Barry Warsaw | 2016-07-29 19:28:46 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2016-07-29 19:28:46 -0400 |
| commit | febb5289e82c4424cdbcc2297e967bd894cbc8cf (patch) | |
| tree | bd71f4cbf6988049ac4d5dd65ceb7d5cc51902e7 /src/mailman/model/language.py | |
| parent | 90e84bee5f47cbcdb9e9c367c60a877e325ef3e7 (diff) | |
| download | mailman-febb5289e82c4424cdbcc2297e967bd894cbc8cf.tar.gz mailman-febb5289e82c4424cdbcc2297e967bd894cbc8cf.tar.zst mailman-febb5289e82c4424cdbcc2297e967bd894cbc8cf.zip | |
Diffstat (limited to 'src/mailman/model/language.py')
| -rw-r--r-- | src/mailman/model/language.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mailman/model/language.py b/src/mailman/model/language.py index f0a3326a8..596e580e1 100644 --- a/src/mailman/model/language.py +++ b/src/mailman/model/language.py @@ -19,8 +19,9 @@ from mailman import public from mailman.database.model import Model +from mailman.database.types import SAUnicode from mailman.interfaces.languages import ILanguage -from sqlalchemy import Column, Integer, Unicode +from sqlalchemy import Column, Integer from zope.interface import implementer @@ -32,4 +33,4 @@ class Language(Model): __tablename__ = 'language' id = Column(Integer, primary_key=True) - code = Column(Unicode) + code = Column(SAUnicode) |
