summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-12-19 19:11:52 -0500
committerTim Graham <timograham@gmail.com>2014-12-19 19:12:50 -0500
commitc24624025bf7fe741a882e79b892055688245cc2 (patch)
tree59ddd4cc2674dc310330276b132d263284269771 /docs
parentea1865223886295674422923a2a9d38bacb0564d (diff)
[1.7.x] Added upgrade instructions for deprecated model _meta permission methods.
Backport of a3d96bee36040975ded8e3bf02e33e48d06f1f16 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/1.6.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt
index 11828c8417..2c4ceef7e6 100644
--- a/docs/releases/1.6.txt
+++ b/docs/releases/1.6.txt
@@ -1091,7 +1091,9 @@ private API, it will go through a regular deprecation path.
``Model._meta.get_(add|change|delete)_permission`` methods were deprecated.
Even if they were not part of the public API they'll also go through
-a regular deprecation path.
+a regular deprecation path. You can replace them with
+``django.contrib.auth.get_permission_codename('action', Model._meta)`` where
+``'action'`` is ``'add'``, ``'change'``, or ``'delete'``.
``get_query_set`` and similar methods renamed to ``get_queryset``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~