📜  django 中的 class meta 做了什么 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:19.337000             🧑  作者: Mango

代码示例2
purpose of meta class in django

Model Meta is basically the inner class of your model class. 
Model Meta is basically used to change the behavior of your model fields like changing order options,verbose_name and lot of other options. 
It's completely optional to add Meta class in your model