Django uses the Meta class to get more information about the object. However, they store this information in the '_meta' object, which is private by name.
Throughout django admin (and elsewhere) I see things like opts = model._meta, and then they use various parameters, such as app_labeland verbose_name.
Can I be sure of access to ._meta and be sure that this will not change in the future, or is it better for me to create one "accessor" mixin or something that accesses ._meta in one place, so if it is will either change I only need to update one thing?
Aaron source
share