Tuesday, February 20, 2024

Question about `_meta` API's naming

As the documentation says, Django's `_meta` API is core (https://docs.djangoproject.com/en/5.0/ref/models/meta/), but in my knowledge, APIs that start with `_` are private. Table names, etc. are one of the important APIs, and they seem to be pretty stable. Shouldn't we make them public instead of hiding them as private? Any idea why they are kept as `_meta`? I tried to search history on this decision but I cannot get any clues.

Thank you.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/531d7906-89de-4005-993f-cac459d9367fn%40googlegroups.com.

No comments:

Post a Comment