topic: fix model preventing Post from polymorphic loading as Topic

This commit is contained in:
Lephe 2021-02-20 19:02:21 +01:00
parent d0714d87b0
commit 1d457d7e65
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
1 changed files with 0 additions and 1 deletions

View File

@ -9,7 +9,6 @@ class Topic(Post):
__mapper_args__ = {
'polymorphic_identity': __tablename__,
'primary_key': id,
'inherit_condition': id == Post.id
}