开发者

Where in django docs i can find more info on "_Meta.get_field_by_name" [closed]

Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can开发者_如何学C be answered with facts and citations.

Closed 5 years ago.

Improve this question

I want to read more information about the function i can use with _Meta like .fields and get_field_by_name but i could not find in django official docs.

Can anyone give the links where on their docs they explain the function avaiable with _Meta


Here's the reason why not much documentation is available in the official docs: _meta is named according to the Python convention where an underscore denotes that the variable is a private attribute.

So _meta is (generally) for Django's internal uses and its mechanics are not guaranteed to remain unchanged over time. Consequently using it is not encouraged.

Nevertheless, here's a relevant link from the first page from a google search: http://readthedocs.org/projects/django-model-_meta-reference/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜