Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.2.X] Added note to 1.2.5 release notes about ModelAdmin.lookup_all…

…owed change

Backport of [15352] from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a138e3be0e7a72ec7ae6cf89ab40ed0b75b6ff42 1 parent b3ad41b
@spookylukey spookylukey authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 docs/releases/1.2.5.txt
View
11 docs/releases/1.2.5.txt
@@ -61,3 +61,14 @@ process. If you require data to exist during test conditions, you
should either insert it using :ref:`test fixtures
<topics-testing-fixtures>`, or using the ``setUp()`` method of your
test case.
+
+ModelAdmin.lookup_allowed signature changed
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Django 1.2.4 introduced a method ``lookup_allowed`` on ``ModelAdmin``, to cope
+with a security issue (changeset `[15033]
+<http://code.djangoproject.com/changeset/15033>`_). Although this method was
+never documented, it seems some people have overridden ``lookup_allowed``,
+especially to cope with regressions introduced by that changeset. While the
+method is still undocumented and not marked as stable, it may be helpful to know
+that the signature of this function has changed.
Please sign in to comment.
Something went wrong with that request. Please try again.