mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Updated formtools docs to point at new package outside the Django repo.
Refs #23677.
This commit is contained in:
committed by
Tim Graham
parent
296860f791
commit
6302893112
@@ -122,17 +122,6 @@ Minor features
|
||||
:attr:`~django.contrib.auth.models.CustomUser.REQUIRED_FIELDS` now supports
|
||||
:class:`~django.db.models.ForeignKey`\s.
|
||||
|
||||
:mod:`django.contrib.formtools`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* A :doc:`form wizard </ref/contrib/formtools/form-wizard>` using the
|
||||
:class:`~django.contrib.formtools.wizard.views.CookieWizardView` will now ignore
|
||||
an invalid cookie, and the wizard will restart from the first step. An invalid
|
||||
cookie can occur in cases of intentional manipulation, but also after a secret
|
||||
key change. Previously, this would raise ``WizardViewCookieModified``, a
|
||||
``SuspiciousOperation``, causing an exception for any user with an invalid cookie
|
||||
upon every request to the wizard, until the cookie is removed.
|
||||
|
||||
:mod:`django.contrib.gis`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
@@ -710,6 +699,17 @@ The decorators :func:`~django.test.override_settings` and
|
||||
class decorators. As a consequence, when overriding ``setUpClass()`` or
|
||||
``tearDownClass()``, the ``super`` implementation should always be called.
|
||||
|
||||
Removal of ``django.contrib.formtools``
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
The formtools contrib app has been moved into a separate package.
|
||||
``django.contrib.formtools`` itself has been removed. The docs provide
|
||||
:ref:`migration instructions <formtools-how-to-migrate>`.
|
||||
|
||||
The new package is available `on Github`_ and on PyPI.
|
||||
|
||||
.. _on GitHub: https://github.com/django/django-formtools/
|
||||
|
||||
Miscellaneous
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
||||
Reference in New Issue
Block a user