Switch to side-by-side view
--- a/ForgeWiki/forgewiki/model/wiki.py +++ b/ForgeWiki/forgewiki/model/wiki.py @@ -189,5 +189,8 @@ class WikiAttachment(BaseAttachment): ArtifactType=Page + class __mongometa__: + polymorphic_identity='WikiAttachment' + attachment_type=FieldProperty(str, if_missing='WikiAttachment') MappedClass.compile_all()