1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #15779 -- Allowed 'add' primary key in admin edition

Thanks Marwan Alsabbagh for the report, and Simon Charette and
Tim Graham for the reviews.
This commit is contained in:
Claude Paroz
2015-02-07 17:55:47 +01:00
parent 47ee7b48ad
commit 1791a7e75a
5 changed files with 31 additions and 9 deletions

View File

@@ -35,6 +35,14 @@ Minor features
* Admin views now have ``model_admin`` or ``admin_site`` attributes.
* The URL of the admin change view has been changed (was at
``/admin/<app>/<model>/<pk>/`` by default and is now at
``/admin/<app>/<model>/<pk>/change/``). This should not affect your
application unless you have hardcoded admin URLs. In that case, replace those
links by :ref:`reversing admin URLs <admin-reverse-urls>` instead. Note that
the old URL still redirects to the new one for backwards compatibility, but
it may be removed in a future version.
:mod:`django.contrib.auth`
^^^^^^^^^^^^^^^^^^^^^^^^^^