diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2011-01-28 15:47:40 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2011-01-28 15:47:40 +0000 |
| commit | a0585e99bf7d8644a5f56aba89c451bcefe20b53 (patch) | |
| tree | 8224008954b0a242596418ec37c38f4f55f73c62 /docs | |
| parent | 655d5afea9d1f3d5aa55efc9fe77a14b353e35a6 (diff) | |
Added note to 1.2.5 release notes about ModelAdmin.lookup_allowed change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.2.5.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/releases/1.2.5.txt b/docs/releases/1.2.5.txt index cfdaeaa94e..81b2e18d48 100644 --- a/docs/releases/1.2.5.txt +++ b/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. |
