]> ToastFreeware Gitweb - philipp/winterrodeln/wradmin.git/commitdiff
Make MediaWiki table text available for ORM.
authorphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 10 May 2019 22:14:46 +0000 (22:14 +0000)
committerphilipp <philipp@7aebc617-e5e2-0310-91dc-80fb5f6d2477>
Fri, 10 May 2019 22:14:46 +0000 (22:14 +0000)
git-svn-id: http://www.winterrodeln.org/svn/wradmin/trunk@2808 7aebc617-e5e2-0310-91dc-80fb5f6d2477

wradmin/model/__init__.py

index 2b23d8d8248dc62cd17ea81a4a9d59614564a6fe..112e437ef2c3cc3ee897d1fdb6ae6da132fe04e9 100644 (file)
@@ -47,8 +47,14 @@ class Page(object):
     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)