mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed versionadded/changed annotations for 1.9.
This commit is contained in:
@@ -70,8 +70,6 @@ MRO is an acronym for Method Resolution Order.
|
||||
|
||||
response = MyView.as_view()(request)
|
||||
|
||||
.. versionadded:: 1.9
|
||||
|
||||
The returned view has ``view_class`` and ``view_initkwargs``
|
||||
attributes.
|
||||
|
||||
@@ -232,11 +230,6 @@ MRO is an acronym for Method Resolution Order.
|
||||
status code 301. If ``False``, then the redirect will use status code
|
||||
302. By default, ``permanent`` is ``False``.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
The default value of the ``permanent`` attribute changed from
|
||||
``True`` to ``False``.
|
||||
|
||||
.. attribute:: query_string
|
||||
|
||||
Whether to pass along the GET query string to the new location. If
|
||||
|
||||
@@ -89,8 +89,6 @@ The following mixins are used to construct Django's editing views:
|
||||
|
||||
.. method:: get_context_data(**kwargs)
|
||||
|
||||
.. versionadded:: 1.9
|
||||
|
||||
Calls :meth:`get_form` and adds the result to the context data with the
|
||||
name 'form'.
|
||||
|
||||
@@ -204,11 +202,6 @@ The following mixins are used to construct Django's editing views:
|
||||
Renders a response using a context created with
|
||||
:meth:`~django.views.generic.edit.FormMixin.get_context_data`.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
Construction of the form was moved from this method to
|
||||
:meth:`~django.views.generic.edit.FormMixin.get_context_data`.
|
||||
|
||||
.. method:: post(request, *args, **kwargs)
|
||||
|
||||
Constructs a form, checks the form for validity, and handles it
|
||||
|
||||
Reference in New Issue
Block a user