Refs #32720 -- Used :commit: and :source: role in old release notes.

This commit is contained in:
Nick Pope 2021-04-27 19:50:49 +01:00 committed by Mariusz Felisiak
parent 1557778121
commit 8c4caee76a
4 changed files with 17 additions and 23 deletions

View File

@ -250,6 +250,4 @@ all their hard work:
* Everyone who submitted a bug report, patch or ticket comment. We can't * Everyone who submitted a bug report, patch or ticket comment. We can't
possibly thank everyone by name -- over 200 developers submitted patches possibly thank everyone by name -- over 200 developers submitted patches
that went into 0.96 -- but everyone who's contributed to Django is listed that went into 0.96 -- but everyone who's contributed to Django is listed
in AUTHORS_. in :source:`AUTHORS`.
.. _AUTHORS: https://code.djangoproject.com/browser/django/trunk/AUTHORS

View File

@ -7,13 +7,11 @@ released two days after 1.2.2.
This release corrects the following problems: This release corrects the following problems:
* The patch_ applied for the security issue covered in Django 1.2.2 caused * The :commit:`patch <7f84657b6b2243cc787bdb9f296710c8d13ad0bd>` applied for
issues with non-ASCII responses using CSRF tokens. the security issue covered in Django 1.2.2 caused issues with non-ASCII
responses using CSRF tokens.
* The patch also caused issues with some forms, most notably the user-editing * The patch also caused issues with some forms, most notably the user-editing
forms in the Django administrative interface. forms in the Django administrative interface.
* The packaging manifest did not contain the full list of required files. * The packaging manifest did not contain the full list of required files.
.. _patch: https://code.djangoproject.com/changeset/13699

View File

@ -115,9 +115,9 @@ ModelAdmin.lookup_allowed signature changed
------------------------------------------- -------------------------------------------
Django 1.2.4 introduced a method ``lookup_allowed`` on ``ModelAdmin``, to cope Django 1.2.4 introduced a method ``lookup_allowed`` on ``ModelAdmin``, to cope
with a security issue (changeset `[15033] with a security issue (changeset :commit:`[15033]
<https://code.djangoproject.com/changeset/15033>`_). Although this method was <85207a245bf09fdebe486b4c7bbcb65300f2a693>`). Although this method was never
never documented, it seems some people have overridden ``lookup_allowed``, documented, it seems some people have overridden ``lookup_allowed``, especially
especially to cope with regressions introduced by that changeset. While the to cope with regressions introduced by that changeset. While the method is
method is still undocumented and not marked as stable, it may be helpful to know still undocumented and not marked as stable, it may be helpful to know that the
that the signature of this function has changed. signature of this function has changed.

View File

@ -439,14 +439,13 @@ prohibited words an empty list.
If you want to restore the old behavior, simply put a If you want to restore the old behavior, simply put a
``PROFANITIES_LIST`` setting in your settings file that includes the ``PROFANITIES_LIST`` setting in your settings file that includes the
words that you want to prohibit (see the `commit that implemented this words that you want to prohibit (see the :commit:`commit that implemented this
change`_ if you want to see the list of words that was historically change <edd767d2612d891a906268cf590571f541dd164f>` if you want to see the list
prohibited). However, if avoiding profanities is important to you, you of words that was historically prohibited). However, if avoiding profanities is
would be well advised to seek out a better, less naive approach to the important to you, you would be well advised to seek out a better, less naive
problem. approach to the problem.
.. _Scunthorpe problem: https://en.wikipedia.org/wiki/Scunthorpe_problem .. _Scunthorpe problem: https://en.wikipedia.org/wiki/Scunthorpe_problem
.. _commit that implemented this change: https://code.djangoproject.com/changeset/13996
Localflavor changes Localflavor changes
------------------- -------------------
@ -763,7 +762,8 @@ Changes to the login methods of the admin
In previous version the admin app defined login methods in multiple locations In previous version the admin app defined login methods in multiple locations
and ignored the almost identical implementation in the already used auth app. and ignored the almost identical implementation in the already used auth app.
A side effect of this duplication was the missing adoption of the changes made A side effect of this duplication was the missing adoption of the changes made
in r12634_ to support a broader set of characters for usernames. in :commit:`r12634 <c8015052d935a99a5c8f96434b2d0cd16d8a4e14>` to support a
broader set of characters for usernames.
This release refactors the admin's login mechanism to use a subclass of the This release refactors the admin's login mechanism to use a subclass of the
:class:`~django.contrib.auth.forms.AuthenticationForm` instead of a manual :class:`~django.contrib.auth.forms.AuthenticationForm` instead of a manual
@ -772,8 +772,6 @@ form validation. The previously undocumented method
in favor of a new :attr:`~django.contrib.admin.AdminSite.login_form` in favor of a new :attr:`~django.contrib.admin.AdminSite.login_form`
attribute. attribute.
.. _r12634: https://code.djangoproject.com/changeset/12634
``reset`` and ``sqlreset`` management commands ``reset`` and ``sqlreset`` management commands
---------------------------------------------- ----------------------------------------------