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

Fixed #24643 -- Added get_context_data() method to FormMixin

This commit is contained in:
Andrei Kulakov
2015-04-14 16:50:36 -04:00
committed by Tim Graham
parent a37dcfd0a3
commit 8a1824d465
5 changed files with 40 additions and 8 deletions

View File

@@ -407,6 +407,13 @@ Miscellaneous
* ``CommaSeparatedIntegerField`` validation has been refined to forbid values
like ``','``, ``',1'``, and ``'1,,2'``.
* Form initialization was moved from the :meth:`ProcessFormView.get()
<django.views.generic.edit.ProcessFormView.get>` method to the new
:meth:`FormMixin.get_context_data()
<django.views.generic.edit.FormMixin.get_context_data>` method. This may be
backwards incompatible if you have overridden the ``get_context_data()``
method without calling ``super()``.
.. _deprecated-features-1.9:
Features deprecated in 1.9