mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #19689 -- Renamed Model._meta.module_name
to model_name
.
This commit is contained in:
parent
826d9de00e
commit
ec469ade2b
32 changed files with 102 additions and 84 deletions
|
@ -327,6 +327,8 @@ these changes.
|
|||
:class:`django.middleware.common.BrokenLinkEmailsMiddleware` middleware to
|
||||
your :setting:`MIDDLEWARE_CLASSES` setting instead.
|
||||
|
||||
* ``Model._meta.module_name`` was renamed to ``model_name``.
|
||||
|
||||
2.0
|
||||
---
|
||||
|
||||
|
|
|
@ -127,3 +127,9 @@ from your settings.
|
|||
|
||||
If you defined your own form widgets and defined the ``_has_changed`` method
|
||||
on a widget, you should now define this method on the form field itself.
|
||||
|
||||
``module_name`` model meta attribute
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
``Model._meta.module_name`` was renamed to ``model_name``. Despite being a
|
||||
private API, it will go through a regular deprecation path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue