Skip to content
Discussion options

You must be logged in to vote

@christianmhubble - yes Schema is a subclass of BaseModel that just adds some extras (and hides the "model" word as it's has different meaning in django world(db table)

so yeah - if you just copy pydantic models and use them in django-ninja - all will work

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@christianmhubble
Comment options

Answer selected by christianmhubble
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants