From 900bd22bf3ead60c1cef43aa984c828222d159b4 Mon Sep 17 00:00:00 2001 From: Konsta Vesterinen Date: Thu, 24 Oct 2013 15:21:24 +0300 Subject: [PATCH] Fixed choice type docs --- docs/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index afbeceb..bd465e5 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -72,7 +72,7 @@ ChoiceType offers way of having fixed set of choices for given column. Columns w __tablename__ = 'user' id = sa.Column(sa.Integer, primary_key=True) - name = sa.Column + name = sa.Column(sa.Unicode(255)) type = sa.Column(ChoiceType(TYPES)) @@ -96,7 +96,7 @@ ChoiceType is very useful when the rendered values change based on user's locale __tablename__ = 'user' id = sa.Column(sa.Integer, primary_key=True) - name = sa.Column + name = sa.Column(sa.Unicode(255)) type = sa.Column(ChoiceType(TYPES))