-"Model of wradmin"
-import datetime
+"""Model of wradmin"""
from sqlalchemy import orm
from wradmin.model import meta
from wrpylib import mwdb, wrmwdb
categorylinks_table = mwdb.categorylinks_table(meta.metadata)
-
class WrReport(object):
pass
pass
+# MediaWiki text table
+class MwText(object):
+ pass
+
+
orm.mapper(WrReport, wrreport_table)
# We could add a relation but we don't need it yet:
# orm.mapper(WrSledrunCache, wrsledruncache_table, properties = {'reports': orm.relation(WrReport, backref='sledding')})
orm.mapper(WrSledrunCache, wrsledruncache_table)
orm.mapper(WrInnCache, wrinncache_table)
-
+orm.mapper(MwText, text_table)