Skip to content

Commit

Permalink
🐛 fix abstract models inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
CMHopeSunshine committed Sep 14, 2023
1 parent 560a0f9 commit 93c4e0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cherry/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ def __new__(
meta = mix_meta_config(base.__meta__, MetaConfig)
init_meta_config(meta)
meta.tablename = name
if meta.abstract:
meta.abstract = False

allowed_meta_kwargs = {
key
Expand Down

0 comments on commit 93c4e0a

Please sign in to comment.