Commit 7b69c3e7 authored by Tim Graham's avatar Tim Graham
Browse files

Removed versionadded/changed annotations for 1.5

parent 58c6d020
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -104,12 +104,6 @@ TemplateView
    Renders a given template, with the context containing parameters captured
    in the URL.

    .. versionchanged:: 1.5

        The context used to be populated with a ``{{ params }}`` dictionary of
        the parameters captured in the URL. Now those parameters are first-level
        context variables.

    **Ancestors (MRO)**

    This view inherits methods and attributes from the following views:
+0 −8
Original line number Diff line number Diff line
@@ -138,24 +138,16 @@ YearArchiveView
    * ``year``: A :class:`~datetime.date` object
      representing the given year.

      .. versionchanged:: 1.5

         Previously, this returned a string.

    * ``next_year``: A :class:`~datetime.date` object
      representing the first day of the next year, according to
      :attr:`~BaseDateListView.allow_empty` and
      :attr:`~DateMixin.allow_future`.

      .. versionadded:: 1.5

    * ``previous_year``: A :class:`~datetime.date` object
      representing the first day of the previous year, according to
      :attr:`~BaseDateListView.allow_empty` and
      :attr:`~DateMixin.allow_future`.

      .. versionadded:: 1.5

    **Notes**

    * Uses a default ``template_name_suffix`` of ``_archive_year``.
+0 −5
Original line number Diff line number Diff line
@@ -328,8 +328,3 @@ BaseDateListView
        :meth:`~BaseDateListView.get_date_list_period` is used. ``date_type``
        and ``ordering`` are simply passed to
        :meth:`QuerySet.dates()<django.db.models.query.QuerySet.dates>`.

        .. versionchanged:: 1.5

            The ``ordering`` parameter was added, and the default order was
            changed to ascending.
+0 −2
Original line number Diff line number Diff line
@@ -90,8 +90,6 @@ MultipleObjectMixin

    .. attribute:: page_kwarg

        .. versionadded:: 1.5

        A string specifying the name to use for the page parameter.
        The view will expect this prameter to be available either as a query
        string parameter (via ``request.GET``) or as a kwarg variable specified
+0 −4
Original line number Diff line number Diff line
@@ -7,8 +7,6 @@ ContextMixin

.. class:: django.views.generic.base.ContextMixin

    .. versionadded:: 1.5

    **Methods**

    .. method:: get_context_data(**kwargs)
@@ -77,8 +75,6 @@ TemplateResponseMixin

    .. attribute:: content_type

        .. versionadded:: 1.5

        The content type to use for the response. ``content_type`` is passed
        as a keyword argument to ``response_class``. Default is ``None`` --
        meaning that Django uses :setting:`DEFAULT_CONTENT_TYPE`.
Loading