sagettext/model.py

4 views
Skip to first unread message

Jose Soares

unread,
Mar 31, 2014, 7:15:34 AM3/31/14
to turbo...@googlegroups.com
Hi all,

In tg1.5 there's a model in
turbogears/i18n/sagettext/model.py
with the following two tables:


tg_domain_table = Table('tg_i18n_domain', metadata,
Column('id', Integer, primary_key=True),
Column('name', Unicode, unique=True))

tg_message_table = Table('tg_i18n_message', metadata,
Column('id', Integer, primary_key=True),
Column('name', Unicode),
Column('text', Unicode, default=u''),
Column('domain_id', Integer, ForeignKey(tg_domain_table.c.id)),
Column('locale', String(length=15)),
Column('created', DateTime, default=datetime.now),
Column('updated', DateTime, default=None))


I can't start tg with oracle because this definition is not compatible
(in Oracle, Unicode must have a length)
What are these tables?

j

Reply all
Reply to author
Forward
0 new messages