veekun_pokedex/pokedex/db
Petr Viktorin d813e24b25 I18n for the database schema
- Helper base class: Named
  Subclasses: OfficiallyNamed, UnofficiallyNamed
  for these, a 'name' column is created in the appropriate text table
  also, they get automatic __str__/__repr__/__unicode__
- Faux columns: ProseColumn, TextColumn
  these become columns in the appropriate text tables
  these text tables (*_text, *_prose) are auto-generated at the end
  the main table gets one property (singular name) that gets the English text
   and one (plural name) with dict of texts keyed by language
- Every named table gets 'identifier'
- Languages compare & hash equal to their identifiers
- Existing foreign-name tables replaced by the autogenerated ones
- order_by: names replaced by identifiers
- New function: all_tables(), yields all tables
- Markdown move properties removed for now
- Schema test suite
2011-03-13 15:10:10 -07:00
..
__init__.py Use engine_from_config for database connections. #390 2011-02-09 23:39:03 -08:00
load.py Speed tweaks for pokedex load in SQLite 2011-01-27 21:51:30 -08:00
markdown.py Use absolute_import in markdown.py, to fix import problem. 2010-06-02 00:17:27 -07:00
tables.py I18n for the database schema 2011-03-13 15:10:10 -07:00