veekun_pokedex/pokedex/db
Petr Viktorin 0cb1f8a1b8 Make the table schema a bit more introspectable
This solves two problems: first, the relationships are now defined in
the class they apply to, rather than in a separate section of the module,
and second, their metadata -- both creation arguments and extra info such
as `description` (or, later, possibly, info for API properties) -- is
stored.
2012-02-12 16:19:09 +01:00
..
__init__.py Fix default language assignment once and for all. 2011-04-10 00:54:14 -07:00
dependencies.py load: Add --recursive option. 2011-04-03 03:17:08 -07:00
load.py Add a missing import, remove some unused ones 2011-08-30 23:05:22 +03:00
markdown.py Make a few __get__ methods work properly on their class 2012-02-11 22:54:46 +01:00
multilang.py Make the table schema a bit more introspectable 2012-02-12 16:19:09 +01:00
tables.py Make the table schema a bit more introspectable 2012-02-12 16:19:09 +01:00
translations.py Reading, merging, and writing translations 2011-04-11 17:03:27 +03:00
util.py Make id lookup util.get use query.get, avoiding queries for dupe lookups 2011-05-06 12:40:44 +03:00