summaryrefslogtreecommitdiff
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:11:52 -0500
commita3d96bee36040975ded8e3bf02e33e48d06f1f16 (patch)
tree4fe68d1eec85296b380763386144246462ff8a8c
parentf56132691b3321a97d7a320acbf777bf0e3d3aac (diff)
Added upgrade instructions for deprecated model _meta permission methods.
-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 0881f7b5da..bdf4e2f918 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``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~