Package turbogears :: Package i18n :: Package sagettext :: Module model

Module model

source code

Classes
  TG_Domain
  TG_Message
Variables
  tg_domain_table = Table('tg_i18n_domain', metadata, Column('id...
  tg_message_table = Table('tg_i18n_message', metadata, Column('...
Variables Details

tg_domain_table

Value:
Table('tg_i18n_domain', metadata, Column('id', Integer, primary_key= T\
rue), Column('name', Unicode, unique= True))

tg_message_table

Value:
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)), Colum\
n('locale', String(length= 15)), Column('created', DateTime, default= \
datetime.now), Column('updated', DateTime, default= None))