How to add extra parameters in Document's Meta class. #49
Unanswered
girase1pranay
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@girase1pranay because that Meta of a Document does not allow you to do that, naturally. It was not designed to allow custom parameters, only the ones that Mongoz uses and needs |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to define parameters in the Meta class of Document with a straight forward way eg.
class Meta: custom_parameter = "This is a custom parameter"
but not able to access extra parameters with the Document class.
Can anyone please give a solution about how extra parameters can be added in the Meta class of Document?
Beta Was this translation helpful? Give feedback.
All reactions