summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2013-02-05 04:16:07 -0500
committerSimon Charette <charette.s@gmail.com>2013-02-05 04:16:07 -0500
commitec469ade2b04b94bfeb59fb0fc7d9300470be615 (patch)
tree3ac3933af79c848987e5fac87c07a6d057443e71 /docs
parent826d9de00e74a53d7cc65fcb2aaa5ccdf33674ab (diff)
Fixed #19689 -- Renamed `Model._meta.module_name` to `model_name`.
Diffstat (limited to 'docs')
-rw-r--r--docs/internals/deprecation.txt2
-rw-r--r--docs/releases/1.6.txt6
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt
index df3d84fdae..50b9aa3c19 100644
--- a/docs/internals/deprecation.txt
+++ b/docs/internals/deprecation.txt
@@ -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
---
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt
index 32e5172878..f86d8b8108 100644
--- a/docs/releases/1.6.txt
+++ b/docs/releases/1.6.txt
@@ -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.