Commit 837425b4 authored by Tim Graham's avatar Tim Graham
Browse files

Fixed #18934 - Removed versionadded/changed annotations for Django 1.3

parent e06b5439
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -760,8 +760,6 @@ A few things to note about the ``simple_tag`` helper function:
* If the argument was a template variable, our function is passed the
  current value of the variable, not the variable itself.

.. versionadded:: 1.3

If your template tag needs to access the current context, you can use the
``takes_context`` argument when registering your tag:

+0 −4
Original line number Diff line number Diff line
@@ -44,8 +44,6 @@ setting.

.. seealso::

   .. versionadded:: 1.3

   Server error emails are sent using the logging framework, so you can
   customize this behavior by :doc:`customizing your logging configuration
   </topics/logging>`.
@@ -99,8 +97,6 @@ The best way to disable this behavior is to set

.. seealso::

   .. versionadded:: 1.3

   404 errors are logged using the logging framework. By default, these log
   records are ignored, but you can use them for error reporting by writing a
   handler and :doc:`configuring logging </topics/logging>` appropriately.
+0 −2
Original line number Diff line number Diff line
@@ -2,8 +2,6 @@
Managing static files
=====================

.. versionadded:: 1.3

Django developers mostly concern themselves with the dynamic parts of web
applications -- the views and templates that render anew for each request. But
web applications have other parts: the static files (images, CSS,
+0 −2
Original line number Diff line number Diff line
@@ -155,8 +155,6 @@ Certain APIs are explicitly marked as "internal" in a couple of ways:
Local flavors
-------------

.. versionchanged:: 1.3

:mod:`django.contrib.localflavor` contains assorted pieces of code
that are useful for particular countries or cultures. This data is
local in nature, and is subject to change on timelines that will
+2 −19
Original line number Diff line number Diff line
@@ -129,8 +129,6 @@ subclass::

        date_hierarchy = 'pub_date'

    .. versionadded:: 1.3

    This will intelligently populate itself based on available data,
    e.g. if all the dates are in one month, it'll show the day-level
    drill-down only.
@@ -576,8 +574,6 @@ subclass::
          class PersonAdmin(ModelAdmin):
              list_filter = ('is_staff', 'company')

      .. versionadded:: 1.3

      Field names in ``list_filter`` can also span relations
      using the ``__`` lookup, for example::

@@ -748,8 +744,6 @@ subclass::

.. attribute:: ModelAdmin.paginator

    .. versionadded:: 1.3

    The paginator class to be used for pagination. By default,
    :class:`django.core.paginator.Paginator` is used. If the custom paginator
    class doesn't have the same constructor interface as
@@ -966,8 +960,6 @@ templates used by the :class:`ModelAdmin` views:

.. method:: ModelAdmin.delete_model(self, request, obj)

    .. versionadded:: 1.3

    The ``delete_model`` method is given the ``HttpRequest`` and a model
    instance. Use this method to do pre- or post-delete operations.

@@ -1213,8 +1205,6 @@ templates used by the :class:`ModelAdmin` views:

.. method:: ModelAdmin.get_paginator(queryset, per_page, orphans=0, allow_empty_first_page=True)

    .. versionadded:: 1.3

    Returns an instance of the paginator to use for this view. By default,
    instantiates an instance of :attr:`paginator`.

@@ -1295,8 +1285,6 @@ on your ``ModelAdmin``::
            }
            js = ("my_code.js",)

.. versionchanged:: 1.3

The :doc:`staticfiles app </ref/contrib/staticfiles>` prepends
:setting:`STATIC_URL` (or :setting:`MEDIA_URL` if :setting:`STATIC_URL` is
``None``) to any media paths. The same rules apply as :ref:`regular media
@@ -1394,18 +1382,15 @@ adds some of its own (the shared features are actually defined in the
- :attr:`~ModelAdmin.exclude`
- :attr:`~ModelAdmin.filter_horizontal`
- :attr:`~ModelAdmin.filter_vertical`
- :attr:`~ModelAdmin.ordering`
- :attr:`~ModelAdmin.prepopulated_fields`
- :meth:`~ModelAdmin.queryset`
- :attr:`~ModelAdmin.radio_fields`
- :attr:`~ModelAdmin.readonly_fields`
- :attr:`~InlineModelAdmin.raw_id_fields`
- :meth:`~ModelAdmin.formfield_for_foreignkey`
- :meth:`~ModelAdmin.formfield_for_manytomany`

.. versionadded:: 1.3

- :attr:`~ModelAdmin.ordering`
- :meth:`~ModelAdmin.queryset`

.. versionadded:: 1.4

- :meth:`~ModelAdmin.has_add_permission`
@@ -1813,8 +1798,6 @@ Templates can override or extend base admin templates as described in

.. attribute:: AdminSite.login_form

    .. versionadded:: 1.3

    Subclass of :class:`~django.contrib.auth.forms.AuthenticationForm` that
    will be used by the admin site login view.

Loading