[django/django] b91787: Fixed #20642 -- Deprecated `Option.get_(add|change...

0 views
Skip to first unread message

GitHub

unread,
Jun 25, 2013, 12:23:01 PM6/25/13
to django-...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/django/django
Commit: b91787910c9d5a036674d46a73d1b48ca33123a3
https://github.com/django/django/commit/b91787910c9d5a036674d46a73d1b48ca33123a3
Author: Simon Charette <chare...@gmail.com>
Date: 2013-06-25 (Tue, 25 Jun 2013)

Changed paths:
M django/contrib/admin/options.py
M django/contrib/auth/__init__.py
M django/contrib/auth/management/__init__.py
M django/db/models/options.py
M docs/releases/1.6.txt

Log Message:
-----------
Fixed #20642 -- Deprecated `Option.get_(add|change|delete)_permission`.

Those methods were only used by `contrib.admin` internally and exclusively
related to `contrib.auth`. Since they were undocumented but used
in the wild the raised deprecation warning point to an also undocumented
alternative that lives in `contrib.auth`.

Also did some PEP8 and other cleanups in the affected modules.



Reply all
Reply to author
Forward
0 new messages