topic: fix model preventing Post from polymorphic loading as Topic
This commit is contained in:
parent
d0714d87b0
commit
1d457d7e65
|
@ -9,7 +9,6 @@ class Topic(Post):
|
|||
|
||||
__mapper_args__ = {
|
||||
'polymorphic_identity': __tablename__,
|
||||
'primary_key': id,
|
||||
'inherit_condition': id == Post.id
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue