diff options
| author | Tim Graham <timograham@gmail.com> | 2015-09-12 16:27:30 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-23 19:31:11 -0400 |
| commit | 54848a96dd4a196e81f3d71c61caf84ea8b49f4e (patch) | |
| tree | 0fe3e51fc3f783adc69c46bb0313514f207f71ab /docs/ref/contrib | |
| parent | 48e7787db599b0103daf70f0ff4968d90b8540aa (diff) | |
Removed versionadded/changed annotations for 1.8.
Diffstat (limited to 'docs/ref/contrib')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 28 | ||||
| -rw-r--r-- | docs/ref/contrib/auth.txt | 16 | ||||
| -rw-r--r-- | docs/ref/contrib/flatpages.txt | 5 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/gdal.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/install/postgis.txt | 9 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/install/spatialite.txt | 5 | ||||
| -rw-r--r-- | docs/ref/contrib/gis/serializers.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/postgres/index.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 2 | ||||
| -rw-r--r-- | docs/ref/contrib/sites.txt | 4 |
10 files changed, 2 insertions, 73 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 321c6d83ad..93af6e161b 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -915,8 +915,6 @@ subclass:: ('is_staff', admin.BooleanFieldListFilter), ) - .. versionadded:: 1.8 - You can now limit the choices of a related model to the objects involved in that relation using ``RelatedOnlyFieldListFilter``:: @@ -1200,8 +1198,6 @@ subclass:: .. attribute:: ModelAdmin.show_full_result_count - .. versionadded:: 1.8 - Set ``show_full_result_count`` to control whether the full count of objects should be displayed on a filtered admin page (e.g. ``99 results (103 total)``). If this option is set to ``False``, a text like ``99 results (Show all)`` @@ -1711,8 +1707,6 @@ templates used by the :class:`ModelAdmin` views: .. method:: ModelAdmin.has_module_permission(request) - .. versionadded:: 1.8 - Should return ``True`` if displaying the module on the admin index page and accessing the module's index page is permitted, ``False`` otherwise. Uses :meth:`User.has_module_perms() @@ -1788,10 +1782,6 @@ templates used by the :class:`ModelAdmin` views: ``obj_id`` is the serialized identifier used to retrieve the object to be deleted. - .. versionadded:: 1.8 - - The ``obj_id`` parameter was added. - .. method:: ModelAdmin.get_changeform_initial_data(request) A hook for the initial data on admin change forms. By default, fields are @@ -1895,10 +1885,6 @@ To avoid conflicts with user-supplied scripts or libraries, Django's jQuery in your own admin JavaScript without including a second copy, you can use the ``django.jQuery`` object on changelist and add/edit views. -.. versionchanged:: 1.8 - - The embedded jQuery has been upgraded from 1.9.1 to 1.11.2. - .. versionchanged:: 1.9 The embedded jQuery has been upgraded from 1.11.2 to 2.1.4. This drops @@ -2119,8 +2105,6 @@ The ``InlineModelAdmin`` class adds: .. attribute:: InlineModelAdmin.show_change_link - .. versionadded:: 1.8 - Specifies whether or not inline objects that can be changed in the admin have a link to the change form. Defaults to ``False``. @@ -2519,8 +2503,6 @@ Templates can override or extend base admin templates as described in .. attribute:: AdminSite.site_url - .. versionadded:: 1.8 - The URL for the "View site" link at the top of each admin page. By default, ``site_url`` is ``/``. Set it to ``None`` to remove the link. @@ -2603,10 +2585,6 @@ Templates can override or extend base admin templates as described in * ``admin_url``: admin changelist URL for the model * ``add_url``: admin URL to add a new model instance - .. versionchanged:: 1.8 - - The ``request`` argument and the ``has_permission`` variable were added. - .. versionchanged:: 1.9 The ``available_apps`` variable was added. @@ -2732,12 +2710,6 @@ a pattern for your new view. ``AdminSite`` or ``self.admin_site.name`` if your view is on a ``ModelAdmin``. - .. versionchanged:: 1.8 - - In previous versions of Django, you had to provide the ``current_app`` - argument to :class:`~django.template.RequestContext` or - :class:`~django.template.Context` when rendering the template. - .. _auth_password_reset: Adding a password-reset feature diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index bf50e73d99..217bd432b5 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -83,11 +83,6 @@ Fields A datetime of the user's last login. - .. versionchanged:: 1.8 - - This field will be ``null`` if the user has never logged in. - Previously it was set to the current date/time by default. - .. attribute:: date_joined A datetime designating when the account was created. Is set to the @@ -285,11 +280,6 @@ Anonymous users :meth:`~django.db.models.Model.save` and :meth:`~django.db.models.Model.delete()` raise :exc:`NotImplementedError`. - .. versionadded:: 1.8 - - ``AnonymousUser.get_username()`` has been added to - better mirror :class:`django.contrib.auth.models.User`. - In practice, you probably won't need to use :class:`~django.contrib.auth.models.AnonymousUser` objects on your own, but they're used by Web requests, as explained in the next section. @@ -311,10 +301,6 @@ fields: Required. 255 characters or fewer. Example: ``'Can vote'``. - .. versionchanged:: 1.8 - - The ``max_length`` increased from 50 to 255 characters. - .. attribute:: content_type Required. A reference to the ``django_content_type`` database table, @@ -460,8 +446,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`: .. method:: get_user_permissions(user_obj, obj=None) - .. versionadded:: 1.8 - Returns the set of permission strings the ``user_obj`` has from their own user permissions. Returns an empty set if :meth:`~django.contrib.auth.models.AbstractBaseUser.is_anonymous` or diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt index 0777a579f9..3326a93ea8 100644 --- a/docs/ref/contrib/flatpages.txt +++ b/docs/ref/contrib/flatpages.txt @@ -345,11 +345,6 @@ Integrating with :mod:`django.contrib.sitemaps` :attr:`~django.contrib.sitemaps.Sitemap.changefreq` or :attr:`~django.contrib.sitemaps.Sitemap.priority`. - .. versionchanged:: 1.8 - - This class is available from ``django.contrib.sitemaps.FlatPageSitemap`` - in older version of Django. - Example ------- diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt index e04c69c8b4..3aea16ad36 100644 --- a/docs/ref/contrib/gis/gdal.txt +++ b/docs/ref/contrib/gis/gdal.txt @@ -1090,8 +1090,6 @@ the same coordinate transformation repeatedly on different geometries:: Raster Data Objects =================== -.. versionadded:: 1.8 - ``GDALRaster`` ---------------- diff --git a/docs/ref/contrib/gis/install/postgis.txt b/docs/ref/contrib/gis/install/postgis.txt index 8e01793350..7e724938ba 100644 --- a/docs/ref/contrib/gis/install/postgis.txt +++ b/docs/ref/contrib/gis/install/postgis.txt @@ -64,7 +64,8 @@ spatial functionality:: > CREATE EXTENSION postgis; The database user must be a superuser in order to run -``CREATE EXTENSION postgis;``. +``CREATE EXTENSION postgis;``. The command is run during the :djadmin:`migrate` +process. GeoDjango does not currently leverage any `PostGIS topology functionality`__. If you plan to use those features at some point, you can also install the @@ -73,12 +74,6 @@ postgis_topology;``. __ http://postgis.net/docs/Topology.html -.. versionchanged:: 1.8 - - The ``CREATE EXTENSION postgis`` command is now automatically run during - the :djadmin:`migrate` process. You can still create it manually if you - wish. - Managing the database --------------------- diff --git a/docs/ref/contrib/gis/install/spatialite.txt b/docs/ref/contrib/gis/install/spatialite.txt index 01a9a266bc..4ae9965715 100644 --- a/docs/ref/contrib/gis/install/spatialite.txt +++ b/docs/ref/contrib/gis/install/spatialite.txt @@ -160,8 +160,3 @@ Creating a spatial database for SpatiaLite When running ``manage.py migrate`` with a SQLite or SpatiaLite database, the database file will be automatically created if it doesn't exist. Django will also ensure that the spatial metadata are initialized in the database. - -.. versionchanged:: 1.8 - - Prior to Django 1.8, you had to initialize spatial metadata tables yourself - by manually running the "SELECT InitSpatialMetaData();" query. diff --git a/docs/ref/contrib/gis/serializers.txt b/docs/ref/contrib/gis/serializers.txt index 59266940e3..5226a9b9e8 100644 --- a/docs/ref/contrib/gis/serializers.txt +++ b/docs/ref/contrib/gis/serializers.txt @@ -2,8 +2,6 @@ GeoJSON Serializer ================== -.. versionadded:: 1.8 - .. module:: django.contrib.gis.serializers.geojson :synopsis: Serialization of GeoDjango models in the GeoJSON format. diff --git a/docs/ref/contrib/postgres/index.txt b/docs/ref/contrib/postgres/index.txt index a1536680c7..244fe12399 100644 --- a/docs/ref/contrib/postgres/index.txt +++ b/docs/ref/contrib/postgres/index.txt @@ -4,8 +4,6 @@ .. module:: django.contrib.postgres :synopsis: PostgreSQL-specific fields and features -.. versionadded:: 1.8 - PostgreSQL has a number of features which are not shared by the other databases Django supports. This optional module contains model fields and form fields for a number of PostgreSQL specific data types. diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index 004dffc76a..a496522d56 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -243,8 +243,6 @@ Sitemap class reference .. attribute:: Sitemap.i18n - .. versionadded:: 1.8 - **Optional.** A boolean attribute that defines if the URLs of this sitemap should diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt index defa808207..295bd868a7 100644 --- a/docs/ref/contrib/sites.txt +++ b/docs/ref/contrib/sites.txt @@ -509,10 +509,6 @@ Finally, to avoid repetitive fallback code, the framework provides a :class:`~django.contrib.sites.requests.RequestSite` which will always use the unmodified host. - .. versionchanged:: 1.8 - - Looking up the current site based on ``request.get_host()`` was added. - .. versionchanged:: 1.9 Retrying the lookup with the port stripped was added. |
