Ticket #14000: 14000-remove-versionxxx-1.0+1.1.diff

File 14000-remove-versionxxx-1.0+1.1.diff, 74.6 KB (added by Ramiro Morales, 14 years ago)

Patch form trunk, removes version*:: 1.0 and 1.1 notes.

  • docs/howto/custom-management-commands.txt

    diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt
    a b  
    22Writing custom django-admin commands
    33====================================
    44
    5 .. versionadded:: 1.0
    6 
    75Applications can register their own actions with ``manage.py``. For example,
    86you might want to add a ``manage.py`` action for a Django app that you're
    97distributing. In this document, we will be building a custom ``closepoll``
  • docs/howto/custom-model-fields.txt

    diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt
    a b  
    22Writing custom model fields
    33===========================
    44
    5 .. versionadded:: 1.0
    65.. currentmodule:: django.db.models
    76
    87Introduction
  • docs/howto/custom-template-tags.txt

    diff --git a/docs/howto/custom-template-tags.txt b/docs/howto/custom-template-tags.txt
    a b  
    155155Filters and auto-escaping
    156156~~~~~~~~~~~~~~~~~~~~~~~~~
    157157
    158 .. versionadded:: 1.0
    159 
    160158When writing a custom filter, give some thought to how the filter will interact
    161159with Django's auto-escaping behavior. Note that three types of strings can be
    162160passed around inside the template code:
     
    426424Auto-escaping considerations
    427425~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    428426
    429 .. versionadded:: 1.0
    430 
    431427The output from template tags is **not** automatically run through the
    432428auto-escaping filters. However, there are still a couple of things you should
    433429keep in mind when writing a template tag.
     
    605601            raise template.TemplateSyntaxError, "%r tag's argument should be in quotes" % tag_name
    606602        return FormatTimeNode(date_to_be_formatted, format_string[1:-1])
    607603
    608 .. versionchanged:: 1.0
    609     Variable resolution has changed in the 1.0 release of Django. ``template.resolve_variable()``
    610     has been deprecated in favor of a new ``template.Variable`` class.
    611 
    612604You also have to change the renderer to retrieve the actual contents of the
    613605``date_updated`` property of the ``blog_entry`` object.  This can be
    614606accomplished by using the ``Variable()`` class in ``django.template``.
  • docs/howto/deployment/modpython.txt

    diff --git a/docs/howto/deployment/modpython.txt b/docs/howto/deployment/modpython.txt
    a b  
    6363Django mod_python handler." It passes the value of :ref:`DJANGO_SETTINGS_MODULE
    6464<django-settings-module>` so mod_python knows which settings to use.
    6565
    66 .. versionadded:: 1.0
    67     The ``PythonOption django.root ...`` is new in this version.
    68 
    6966Because mod_python does not know we are serving this site from underneath the
    7067``/mysite/`` prefix, this value needs to be passed through to the mod_python
    7168handler in Django, via the ``PythonOption django.root ...`` line. The value set
  • docs/intro/tutorial02.txt

    diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
    a b  
    3838      need to know is that it maps URL roots to applications. In the end, you
    3939      should have a ``urls.py`` file that looks like this:
    4040
    41     .. versionchanged:: 1.1
    42         The method for adding admin urls has changed in Django 1.1.
    43 
    4441      .. parsed-literal::
    4542
    4643          from django.conf.urls.defaults import *
  • docs/ref/authbackends.txt

    diff --git a/docs/ref/authbackends.txt b/docs/ref/authbackends.txt
    a b  
    2626
    2727.. class:: RemoteUserBackend
    2828
    29     .. versionadded:: 1.1
    30 
    3129    Use this backend to take advantage of external-to-Django-handled
    3230    authentication.  It authenticates using usernames passed in
    3331    :attr:`request.META['REMOTE_USER'] <django.http.HttpRequest.META>`.  See
  • docs/ref/contrib/admin/actions.txt

    diff --git a/docs/ref/contrib/admin/actions.txt b/docs/ref/contrib/admin/actions.txt
    a b  
    22Admin actions
    33=============
    44
    5 .. versionadded:: 1.1
    6 
    75.. currentmodule:: django.contrib.admin
    86
    97The basic workflow of Django's admin is, in a nutshell, "select an object,
  • docs/ref/contrib/admin/index.txt

    diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
    a b  
    423423
    424424.. attribute:: ModelAdmin.list_editable
    425425
    426 .. versionadded:: 1.1
    427 
    428426Set ``list_editable`` to a list of field names on the model which will allow
    429427editing on the change list page. That is, fields listed in ``list_editable``
    430428will be displayed as form widgets on the change list page, allowing users to
     
    647645
    648646.. attribute:: ModelAdmin.formfield_overrides
    649647
    650 .. versionadded:: 1.1
    651 
    652648This provides a quick-and-dirty way to override some of the
    653649:class:`~django.forms.Field` options for use in the admin.
    654650``formfield_overrides`` is a dictionary mapping a field class to a dict of
     
    689685
    690686.. attribute:: ModelAdmin.actions
    691687
    692 .. versionadded:: 1.1
    693 
    694688A list of actions to make available on the change list page. See
    695689:doc:`/ref/contrib/admin/actions` for details.
    696690
    697691.. attribute:: ModelAdmin.actions_on_top
    698692.. attribute:: ModelAdmin.actions_on_bottom
    699693
    700 .. versionadded:: 1.1
    701 
    702694Controls where on the page the actions bar appears. By default, the admin
    703695changelist displays actions at the top of the page (``actions_on_top = True;
    704696actions_on_bottom = False``).
     
    797789
    798790.. method:: ModelAdmin.get_urls(self)
    799791
    800 .. versionadded:: 1.1
    801 
    802792The ``get_urls`` method on a ``ModelAdmin`` returns the URLs to be used for
    803793that ModelAdmin in the same way as a URLconf.  Therefore you can extend them as
    804794documented in :doc:`/topics/http/urls`::
     
    855845
    856846.. method:: ModelAdmin.formfield_for_foreignkey(self, db_field, request, **kwargs)
    857847
    858 .. versionadded:: 1.1
    859 
    860848The ``formfield_for_foreignkey`` method on a ``ModelAdmin`` allows you to
    861849override the default formfield for a foreign key field. For example, to
    862850return a subset of objects for this foreign key field based on the user::
     
    872860
    873861.. method:: ModelAdmin.formfield_for_manytomany(self, db_field, request, **kwargs)
    874862
    875 .. versionadded:: 1.1
    876 
    877863Like the ``formfield_for_foreignkey`` method, the ``formfield_for_manytomany``
    878864method can be overridden to change the default formfield for a many to many
    879865field. For example, if an owner can own multiple cars and cars can belong
     
    14181404Python class), and register your models and ``ModelAdmin`` subclasses
    14191405with it instead of using the default.
    14201406
    1421 .. versionadded:: 1.1
    1422 
    14231407When constructing an instance of an ``AdminSite``, you are able to provide
    14241408a unique instance name using the ``name`` argument to the constructor. This
    14251409instance name is used to identify the instance, especially when
     
    15051489Django-powered Web site. Just create multiple instances of ``AdminSite`` and
    15061490root each one at a different URL.
    15071491
    1508 .. versionchanged:: 1.1
    1509     The method for hooking ``AdminSite`` instances into urls has changed in
    1510     Django 1.1.
    1511 
    15121492In this example, the URLs ``/basic-admin/`` and ``/advanced-admin/`` feature
    15131493separate versions of the admin site -- using the ``AdminSite`` instances
    15141494``myproject.admin.basic_site`` and ``myproject.admin.advanced_site``,
     
    15311511Adding views to admin sites
    15321512---------------------------
    15331513
    1534 .. versionadded:: 1.1
    1535 
    15361514Just like :class:`ModelAdmin`, :class:`AdminSite` provides a
    15371515:meth:`~django.contrib.admin.ModelAdmin.get_urls()` method
    15381516that can be overridden to define additional views for the site. To add
     
    15521530Reversing Admin URLs
    15531531====================
    15541532
    1555 .. versionadded:: 1.1
    1556 
    15571533When an :class:`AdminSite` is deployed, the views provided by that site are
    15581534accessible using Django's :ref:`URL reversing system <naming-url-patterns>`.
    15591535
  • docs/ref/contrib/csrf.txt

    diff --git a/docs/ref/contrib/csrf.txt b/docs/ref/contrib/csrf.txt
    a b  
    241241Exceptions
    242242----------
    243243
    244 .. versionadded:: 1.1
    245244.. versionchanged:: 1.2
    246245    Import paths for the decorators below were changed.
    247246
  • docs/ref/contrib/flatpages.txt

    diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt
    a b  
    1717A flatpage can use a custom template or a default, systemwide flatpage
    1818template. It can be associated with one, or multiple, sites.
    1919
    20 .. versionadded:: 1.0
    21 
    2220The content field may optionally be left blank if you prefer to put your
    2321content in a custom template.
    2422
  • docs/ref/contrib/formtools/form-wizard.txt

    diff --git a/docs/ref/contrib/formtools/form-wizard.txt b/docs/ref/contrib/formtools/form-wizard.txt
    a b  
    55.. module:: django.contrib.formtools.wizard
    66    :synopsis: Splits forms across multiple Web pages.
    77
    8 .. versionadded:: 1.0
    9 
    108Django comes with an optional "form wizard" application that splits
    119:doc:`forms </topics/forms/index>` across multiple Web pages. It maintains
    1210state in hashed HTML :samp:`<input type="hidden">` fields, and the data isn't
  • docs/ref/contrib/gis/gdal.txt

    diff --git a/docs/ref/contrib/gis/gdal.txt b/docs/ref/contrib/gis/gdal.txt
    a b  
    459459
    460460   .. classmethod:: from_bbox(bbox)
    461461
    462    .. versionadded:: 1.1
    463 
    464462   Constructs a :class:`Polygon` from the given bounding-box (a 4-tuple).
    465463
    466464   .. method:: __len__
     
    601599
    602600   .. attribute:: kml
    603601
    604    .. versionadded:: 1.1
    605 
    606602   Returns a string representation of this geometry in KML format.
    607603
    608604   .. attribute:: wkb_size
     
    889885
    890886   .. method:: expand_to_include(self, *args)
    891887
    892    .. versionadded:: 1.1
    893 
    894888Coordinate System Objects
    895889=========================
    896890
     
    992986   Import spatial reference from PROJ.4 string.
    993987
    994988   .. method:: import_user_input(user_input)
    995  
    996    .. versionadded:: 1.1
    997989
    998990   .. method:: import_wkt(wkt)
    999991
  • docs/ref/contrib/gis/geoquerysets.txt

    diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt
    a b  
    835835
    836836.. method:: GeoQuerySet.snap_to_grid(*args, **kwargs)
    837837
    838 .. versionadded:: 1.1
    839 
    840838Snap all points of the input geometry to the grid.  How the
    841839geometry is snapped to the grid depends on how many numeric
    842840(either float, integer, or long) arguments are given.
     
    957955
    958956.. method:: GeoQuerySet.geojson(**kwargs)
    959957
    960 .. versionadded:: 1.1
    961 
    962958*Availability*: PostGIS
    963959
    964960Attaches a ``geojson`` attribute to every model in the queryset that contains the
     
    11021098
    11031099Spatial Aggregates
    11041100==================
    1105 .. versionadded:: 1.1
    11061101
    11071102Aggregate Methods
    11081103-----------------
     
    11121107
    11131108.. method:: GeoQuerySet.collect(**kwargs)
    11141109
    1115 .. versionadded:: 1.1
    1116 
    11171110*Availability*: PostGIS
    11181111
    11191112Returns a ``GEOMETRYCOLLECTION`` or a ``MULTI`` geometry object from the geometry
  • docs/ref/contrib/gis/geos.txt

    diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
    a b  
    497497
    498498.. attribute:: GEOSGeometry.prepared
    499499
    500 .. versionadded:: 1.1
    501 
    502500.. note::
    503501
    504502    Support for prepared geometries requires GEOS 3.1.
     
    593591
    594592   .. classmethod:: from_bbox(bbox)
    595593
    596    .. versionadded:: 1.1
    597 
    598594   Returns a polygon object from the given bounding-box, a 4-tuple
    599595   comprising (xmin, ymin, xmax, ymax).
    600596
     
    633629
    634630   .. attribute:: merged
    635631
    636    .. versionadded:: 1.1
    637 
    638632   Returns a :class:`LineString` representing the line merge of
    639633   all the components in this ``MultiLineString``.
    640634       
     
    655649
    656650   .. attribute:: cascaded_union
    657651
    658    .. versionadded:: 1.1
    659 
    660652   Returns a :class:`Polygon` that is the union of all of the component
    661653   polygons in this collection.  The algorithm employed is significantly
    662654   more efficient (faster) than trying to union the geometries together
  • docs/ref/contrib/gis/index.txt

    diff --git a/docs/ref/contrib/gis/index.txt b/docs/ref/contrib/gis/index.txt
    a b  
    44GeoDjango
    55=========
    66
    7 .. versionadded:: 1.0
    8 
    97.. module:: django.contrib.gis
    108   :synopsis: Geographic Information System (GIS) extensions for Django
    119
  • docs/ref/contrib/gis/install.txt

    diff --git a/docs/ref/contrib/gis/install.txt b/docs/ref/contrib/gis/install.txt
    a b  
    356356
    357357SpatiaLite
    358358----------
    359 .. versionadded:: 1.1
    360359
    361360.. note::
    362361
  • docs/ref/contrib/gis/testing.txt

    diff --git a/docs/ref/contrib/gis/testing.txt b/docs/ref/contrib/gis/testing.txt
    a b  
    3333``POSTGIS_TEMPLATE``
    3434^^^^^^^^^^^^^^^^^^^^
    3535
    36 .. versionadded:: 1.1
    37 
    3836.. versionchanged:: 1.2
    3937
    4038This setting may be used to customize the name of the PostGIS template
     
    5351
    5452``POSTGIS_VERSION``
    5553^^^^^^^^^^^^^^^^^^^
    56 .. versionadded:: 1.1
    5754
    5855When GeoDjango's spatial backend initializes on PostGIS, it has to perform
    5956a SQL query to determine the version.  Setting the version manually
     
    123120SpatiaLite
    124121==========
    125122
    126 .. versionadded:: 1.1
    127 
    128123You will need to download the `initialization SQL`__ script for SpatiaLite::
    129124
    130125    $ wget http://www.gaia-gis.it/spatialite/init_spatialite-2.3.zip
     
    142137
    143138``SPATIALITE_SQL``
    144139^^^^^^^^^^^^^^^^^^
    145 .. versionadded:: 1.1
    146140
    147141By default, the GeoDjango test runner looks for the SpatiaLite SQL in the
    148142same directory where it was invoked (by default the same directory where
  • docs/ref/contrib/humanize.txt

    diff --git a/docs/ref/contrib/humanize.txt b/docs/ref/contrib/humanize.txt
    a b  
    7272naturalday
    7373----------
    7474
    75 .. versionadded:: 1.0
    76 
    7775For dates that are the current day or within one day, return "today",
    7876"tomorrow" or "yesterday", as appropriate. Otherwise, format the date using
    7977the passed in format string.
  • docs/ref/contrib/index.txt

    diff --git a/docs/ref/contrib/index.txt b/docs/ref/contrib/index.txt
    a b  
    6060comments
    6161========
    6262
    63 .. versionchanged:: 1.0
    64    The comments application has been rewriten. See :doc:`/ref/contrib/comments/upgrade`
    65    for information on howto upgrade.
    66 
    6763A simple yet flexible comments system. See :doc:`/ref/contrib/comments/index`.
    6864
    6965contenttypes
  • docs/ref/contrib/sitemaps.txt

    diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt
    a b  
    340340Pinging Google via `manage.py`
    341341------------------------------
    342342
    343 .. versionadded:: 1.0
    344 
    345343Once the sitemaps application is added to your project, you may also
    346344ping the Google server's through the command line manage.py interface::
    347345
  • docs/ref/contrib/sites.txt

    diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt
    a b  
    230230Caching the current ``Site`` object
    231231===================================
    232232
    233 .. versionadded:: 1.0
    234 
    235233As the current site is stored in the database, each call to
    236234``Site.objects.get_current()`` could result in a database query. But Django is a
    237235little cleverer than that: on the first request, the current site is cached, and
     
    385383
    386384.. _requestsite-objects:
    387385
    388 .. versionadded:: 1.0
    389 
    390386Some :doc:`django.contrib </ref/contrib/index>` applications take advantage of
    391387the sites framework but are architected in a way that doesn't *require* the
    392388sites framework to be installed in your database. (Some people don't want to, or
  • docs/ref/databases.txt

    diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
    a b  
    5858Autocommit mode
    5959~~~~~~~~~~~~~~~
    6060
    61 .. versionadded:: 1.1
    62 
    6361If your application is particularly read-heavy and doesn't make many
    6462database writes, the overhead of a constantly open transaction can
    6563sometimes be noticeable. For those situations, if you're using the
     
    10199Indexes for ``varchar`` and ``text`` columns
    102100~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    103101
    104 .. versionadded:: 1.1.2
    105 
    106102When specifying ``db_index=True`` on your model fields, Django typically
    107103outputs a single ``CREATE INDEX`` statement.  However, if the database type
    108104for the field is either ``varchar`` or ``text`` (e.g., used by ``CharField``,
     
    452448Using newer versions of the SQLite DB-API 2.0 driver
    453449----------------------------------------------------
    454450
    455 .. versionadded:: 1.1
    456 
    457451For versions of Python 2.5 or newer that include ``sqlite3`` in the standard
    458452library Django will now use a ``pysqlite2`` interface in preference to
    459453``sqlite3`` if it finds one is available.
     
    605599field would also generate an index, but no tablespace for it is specified, so
    606600it would be stored in the model tablespace ``tables`` by default.
    607601
    608 .. versionadded:: 1.0
    609 
    610602Use the :setting:`DEFAULT_TABLESPACE` and :setting:`DEFAULT_INDEX_TABLESPACE`
    611603settings to specify default values for the db_tablespace options.
    612604These are useful for setting a tablespace for the built-in Django apps and
  • docs/ref/django-admin.txt

    diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
    a b  
    8888
    8989.. django-admin:: cleanup
    9090
    91 .. versionadded:: 1.0
    92 
    9391Can be run as a cronjob or directly to clean out old data from the database
    9492(only expired sessions at the moment).
    9593
     
    9896
    9997.. django-admin:: compilemessages
    10098
    101 .. versionchanged:: 1.0
    102    Before 1.0 this was the "bin/compile-messages.py" command.
    103 
    10499Compiles .po files created with ``makemessages`` to .mo files for use with
    105100the builtin gettext support. See :doc:`/topics/i18n/index`.
    106101
     
    129124
    130125.. django-admin:: createsuperuser
    131126
    132 .. versionadded:: 1.0
    133 
    134127Creates a superuser account (a user who has all permissions). This is
    135128useful if you need to create an initial superuser account but did not
    136129do so during ``syncdb``, or if you need to programmatically generate
     
    226219easy for humans to read, so you can use the ``--indent`` option to
    227220pretty-print the output with a number of indentation spaces.
    228221
    229 .. versionadded:: 1.0
    230 
    231222The :djadminopt:`--exclude` option may be provided to prevent specific
    232223applications from being dumped.
    233224
     
    236227The :djadminopt:`--exclude` option may also be provided to prevent specific
    237228models (specified as in the form of ``appname.ModelName``) from being dumped.
    238229
    239 .. versionadded:: 1.1
    240 
    241230In addition to specifying application names, you can provide a list of
    242231individual models, in the form of ``appname.Model``. If you specify a model
    243232name to ``dumpdata``, the dumped output will be restricted to that model,
     
    436425
    437426.. django-admin:: makemessages
    438427
    439 .. versionchanged:: 1.0
    440    Before 1.0 this was the ``bin/make-messages.py`` command.
    441 
    442428Runs over the entire source tree of the current directory and pulls out all
    443429strings marked for translation. It creates (or updates) a message file in the
    444430conf/locale (in the django tree) or locale (for project and application)
     
    839825
    840826.. django-admin:: testserver
    841827
    842 .. versionadded:: 1.0
    843 
    844828Runs a Django development server (as in ``runserver``) using data from the
    845829given fixture(s).
    846830
  • docs/ref/forms/api.txt

    diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt
    a b  
    195195    >>> f.cleaned_data
    196196    {'cc_myself': True, 'message': u'Hi there', 'sender': u'foo@example.com', 'subject': u'hello'}
    197197
    198 .. versionchanged:: 1.0
    199     The ``cleaned_data`` attribute was called ``clean_data`` in earlier releases.
    200 
    201198Note that any text-based field -- such as ``CharField`` or ``EmailField`` --
    202199always cleans the input into a Unicode string. We'll cover the encoding
    203200implications later in this document.
     
    667664Binding uploaded files to a form
    668665--------------------------------
    669666
    670 .. versionadded:: 1.0
    671 
    672667Dealing with forms that have ``FileField`` and ``ImageField`` fields
    673668is a little more complicated than a normal form.
    674669
  • docs/ref/forms/fields.txt

    diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
    a b  
    230230``error_messages``
    231231~~~~~~~~~~~~~~~~~~
    232232
    233 .. versionadded:: 1.0
    234 
    235233.. attribute:: Field.error_messages
    236234
    237235The ``error_messages`` argument lets you override the default messages that the
     
    303301      the field has ``required=True``.
    304302    * Error message keys: ``required``
    305303
    306 .. versionchanged:: 1.0
    307    The empty value for a ``CheckboxInput`` (and hence the standard
    308    ``BooleanField``) has changed to return ``False`` instead of ``None`` in
    309    the Django 1.0.
    310 
    311304.. note::
    312305
    313306    Since all ``Field`` subclasses have ``required=True`` by default, the
     
    408401    '%B %d %Y', '%B %d, %Y',            # 'October 25 2006', 'October 25, 2006'
    409402    '%d %B %Y', '%d %B, %Y',            # '25 October 2006', '25 October, 2006'
    410403
    411 .. versionchanged:: 1.1
    412    The ``DateField`` previously used a ``TextInput`` widget by default. It now
    413    uses a ``DateInput`` widget.
    414 
    415404``DateTimeField``
    416405~~~~~~~~~~~~~~~~~
    417406
     
    443432    '%m/%d/%y %H:%M',        # '10/25/06 14:30'
    444433    '%m/%d/%y',              # '10/25/06'
    445434
    446 .. versionchanged:: 1.0
    447    The ``DateTimeField`` used to use a ``TextInput`` widget by default. This has now changed.
    448 
    449435``DecimalField``
    450436~~~~~~~~~~~~~~~~
    451437
    452 .. versionadded:: 1.0
    453 
    454438.. class:: DecimalField(**kwargs)
    455439
    456440    * Default widget: ``TextInput``
     
    503487``FileField``
    504488~~~~~~~~~~~~~
    505489
    506 .. versionadded:: 1.0
    507 
    508490.. class:: FileField(**kwargs)
    509491
    510492    * Default widget: ``FileInput``
     
    523505``FilePathField``
    524506~~~~~~~~~~~~~~~~~
    525507
    526 .. versionadded:: 1.0
    527 
    528508.. class:: FilePathField(**kwargs)
    529509
    530510    * Default widget: ``Select``
     
    569549``ImageField``
    570550~~~~~~~~~~~~~~
    571551
    572 .. versionadded:: 1.0
    573 
    574552.. class:: ImageField(**kwargs)
    575553
    576554    * Default widget: ``FileInput``
     
    834812If no ``input_time_formats`` argument is provided, the default input formats
    835813for ``TimeField`` are used.
    836814
    837 .. versionchanged:: 1.1
    838    The ``SplitDateTimeField`` previously used two ``TextInput`` widgets by
    839    default. The ``input_date_formats`` and ``input_time_formats`` arguments
    840    are also new.
    841 
    842815Fields which handle relationships
    843816---------------------------------
    844817
  • docs/ref/forms/widgets.txt

    diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
    a b  
    4848
    4949.. class:: DateInput
    5050
    51     .. versionadded:: 1.1
    52 
    5351    Date input as a simple text box: ``<input type='text' ...>``
    5452
    5553    Takes one optional argument:
     
    6260
    6361.. class:: DateTimeInput
    6462
    65     .. versionadded:: 1.0
    66 
    6763    Date/time input as a simple text box: ``<input type='text' ...>``
    6864
    6965    Takes one optional argument:
     
    8783
    8884    If no ``format`` argument is provided, the default format is ``'%H:%M:%S'``.
    8985
    90     .. versionchanged:: 1.1
    91        The ``format`` argument was not supported in Django 1.0.
    92 
    9386.. class:: Textarea
    9487
    9588    Text area: ``<textarea>...</textarea>``
     
    159152    Takes two optional arguments, ``date_format`` and ``time_format``, which
    160153    work just like the ``format`` argument for ``DateInput`` and ``TimeInput``.
    161154
    162     .. versionchanged:: 1.1
    163        The ``date_format`` and ``time_format`` arguments were not supported in Django 1.0.
    164 
    165155.. class:: SelectDateWidget
    166156
    167157    Wrapper around three select widgets: one each for month, day, and year.
  • docs/ref/generic-views.txt

    diff --git a/docs/ref/generic-views.txt b/docs/ref/generic-views.txt
    a b  
    9393      to the URL. If ``False``, then the query string is discarded. By
    9494      default, ``query_string`` is ``False``.
    9595
    96 .. versionadded:: 1.1
    97     The ``permanent`` keyword argument is new in Django 1.1.
    98 
    99 
    10096**Example:**
    10197
    10298This example issues a permanent redirect (HTTP status code 301) from
     
    182178      specified in ``date_field`` is greater than the current date/time. By
    183179      default, this is ``False``.
    184180
    185     .. versionadded:: 1.0
    186 
    187181    * ``template_object_name``: Designates the name of the template variable
    188182      to use in the template context. By default, this is ``'latest'``.
    189183
     
    208202      ordered in reverse. This is equivalent to
    209203      ``queryset.dates(date_field, 'year')[::-1]``.
    210204
    211     .. versionchanged:: 1.0
    212        The behaviour depending on ``template_object_name`` is new in this version.
    213 
    214205    * ``latest``: The ``num_latest`` objects in the system, ordered descending
    215206      by ``date_field``. For example, if ``num_latest`` is ``10``, then
    216207      ``latest`` will be a list of the latest 10 objects in ``queryset``.
     
    380371
    381372    * ``date_list``: A list of ``datetime.date`` objects representing all
    382373      days that have objects available in the given month, according to
    383       ``queryset``, in ascending order.   
     374      ``queryset``, in ascending order.
    384375
    385376    * ``month``: A ``datetime.date`` object representing the given month.
    386377
     
    727718
    728719**Template context:**
    729720
    730 .. versionadded:: 1.0
    731    The ``paginator`` and ``page_obj`` context variables are new.
    732 
    733721In addition to ``extra_context``, the template's context will be:
    734722
    735723    * ``object_list``: The list of objects. This variable's name depends on the
     
    773761For more on pagination, read the :doc:`pagination documentation
    774762</topics/pagination>`.
    775763
    776 .. versionadded:: 1.0
    777 
    778764As a special case, you are also permitted to use ``last`` as a value for
    779765``page``::
    780766
     
    859845The ``django.views.generic.create_update`` module contains a set of functions
    860846for creating, editing and deleting objects.
    861847
    862 .. versionchanged:: 1.0
    863 
    864848``django.views.generic.create_update.create_object`` and
    865849``django.views.generic.create_update.update_object`` now use the new :doc:`forms
    866850library </topics/forms/index>` to build and display the form.
  • docs/ref/middleware.txt

    diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt
    a b  
    5252      you don't have a valid URL pattern for ``foo.com/bar`` but *do* have a
    5353      valid pattern for ``foo.com/bar/``.
    5454
    55       .. versionchanged:: 1.0
    56          The behavior of :setting:`APPEND_SLASH` has changed slightly in this
    57          version. It didn't used to check whether the pattern was matched in
    58          the URLconf.
    59 
    6055      If :setting:`PREPEND_WWW` is ``True``, URLs that lack a leading "www."
    6156      will be redirected to the same URL with a leading "www."
    6257
     
    120115
    121116.. class:: django.middleware.http.SetRemoteAddrFromForwardedFor
    122117
    123 .. versionchanged:: 1.1
    124 
    125118This middleware was removed in Django 1.1. See :ref:`the release notes
    126119<removed-setremoteaddrfromforwardedfor-middleware>` for details.
    127120
     
    183176
    184177.. class:: django.middleware.csrf.CsrfMiddleware
    185178
    186 .. versionadded:: 1.0
    187 
    188179Adds protection against Cross Site Request Forgeries by adding hidden form
    189180fields to POST forms and checking requests for the correct value. See the
    190181:doc:`Cross Site Request Forgery protection documentation </ref/contrib/csrf>`.
  • docs/ref/models/fields.txt

    diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
    a b  
    171171
    172172.. attribute:: Field.db_tablespace
    173173
    174 .. versionadded:: 1.0
    175 
    176174The name of the database tablespace to use for this field's index, if this field
    177175is indexed. The default is the project's :setting:`DEFAULT_INDEX_TABLESPACE`
    178176setting, if set, or the :attr:`~Field.db_tablespace` of the model, if any. If
     
    425423``DecimalField``
    426424----------------
    427425
    428 .. versionadded:: 1.0
    429 
    430426.. class:: DecimalField(max_digits=None, decimal_places=None, [**options])
    431427
    432428A fixed-precision decimal number, represented in Python by a
     
    482478    date/time of the file upload (so that uploaded files don't fill up the given
    483479    directory).
    484480
    485     .. versionchanged:: 1.0
    486 
    487481    This may also be a callable, such as a function, which will be called to
    488482    obtain the upload path, including the filename. This callable must be able
    489483    to accept two arguments, and return a Unix-style path (with forward slashes)
     
    512506
    513507.. attribute:: FileField.storage
    514508
    515     .. versionadded:: 1.0
    516 
    517509    Optional. A storage object, which handles the storage and retrieval of your
    518510    files. See :doc:`/topics/files` for details on how to provide this object.
    519511
     
    560552root, then somebody could upload a CGI or PHP script and execute that script by
    561553visiting its URL on your site. Don't allow that.
    562554
    563 .. versionadded:: 1.0
    564    The ``max_length`` argument was added in this version.
    565 
    566555By default, :class:`FileField` instances are
    567556created as ``varchar(100)`` columns in your database. As with other fields, you
    568557can change the maximum length using the :attr:`~CharField.max_length` argument.
     
    645634because the :attr:`~FilePathField.match` applies to the base filename
    646635(``foo.gif`` and ``bar.gif``).
    647636
    648 .. versionadded:: 1.0
    649    The ``max_length`` argument was added in this version.
    650 
    651637By default, :class:`FilePathField` instances are
    652638created as ``varchar(100)`` columns in your database. As with other fields, you
    653639can change the maximum length using the :attr:`~CharField.max_length` argument.
     
    657643
    658644.. class:: FloatField([**options])
    659645
    660 .. versionchanged:: 1.0
    661 
    662646A floating-point number represented in Python by a ``float`` instance.
    663647
    664648The admin represents this as an ``<input type="text">`` (a single-line input).
     
    692676
    693677.. _Python Imaging Library: http://www.pythonware.com/products/pil/
    694678
    695 .. versionadded:: 1.0
    696    The ``max_length`` argument was added in this version.
    697 
    698679By default, :class:`ImageField` instances are created as ``varchar(100)``
    699680columns in your database. As with other fields, you can change the maximum
    700681length using the :attr:`~CharField.max_length` argument.
     
    867848    class Manufacturer(models.Model):
    868849        # ...
    869850
    870 .. versionadded:: 1.0
    871 
    872851To refer to models defined in another application, you can explicitly specify
    873852a model with the full application label. For example, if the ``Manufacturer``
    874853model above is defined in another application called ``production``, you'd
  • docs/ref/models/instances.txt

    diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
    a b  
    133133
    134134.. method:: Model.save([force_insert=False, force_update=False, using=DEFAULT_DB_ALIAS])
    135135
    136 .. versionadded:: 1.0
    137    The ``force_insert`` and ``force_update`` arguments were added.
    138 
    139136.. versionadded:: 1.2
    140137   The ``using`` argument was added.
    141138
     
    168165The ``pk`` property
    169166~~~~~~~~~~~~~~~~~~~
    170167
    171 .. versionadded:: 1.0
    172 
    173168.. attribute:: Model.pk
    174169
    175170Regardless of whether you define a primary key field yourself, or let Django
     
    278273Forcing an INSERT or UPDATE
    279274~~~~~~~~~~~~~~~~~~~~~~~~~~~
    280275
    281 .. versionadded:: 1.0
    282 
    283276In some rare circumstances, it's necessary to be able to force the ``save()``
    284277method to perform an SQL ``INSERT`` and not fall back to doing an ``UPDATE``.
    285278Or vice-versa: update, if possible, but not insert a new row. In these cases
  • docs/ref/models/options.txt

    diff --git a/docs/ref/models/options.txt b/docs/ref/models/options.txt
    a b  
    6565
    6666.. attribute:: Options.db_tablespace
    6767
    68 .. versionadded:: 1.0
    69 
    7068The name of the database tablespace to use for the model. If the backend doesn't
    7169support tablespaces, this option is ignored.
    7270
     
    9088
    9189.. attribute:: Options.managed
    9290
    93 .. versionadded:: 1.1
    94 
    9591Defaults to ``True``, meaning Django will create the appropriate database
    9692tables in :djadmin:`syncdb` and remove them as part of a :djadmin:`reset`
    9793management command. That is, Django *manages* the database tables' lifecycles.
     
    193189
    194190.. attribute:: Options.proxy
    195191
    196 .. versionadded:: 1.1
    197 
    198192If set to ``True``, a model which subclasses another model will be treated as
    199193a :ref:`proxy model <proxy-models>`.
    200194
     
    212206appropriate ``UNIQUE`` statements are included in the ``CREATE TABLE``
    213207statement).
    214208
    215 .. versionadded:: 1.0
    216 
    217209For convenience, unique_together can be a single list when dealing with a single
    218210set of fields::
    219211
  • docs/ref/models/querysets.txt

    diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt
    a b  
    185185
    186186.. method:: annotate(*args, **kwargs)
    187187
    188 .. versionadded:: 1.1
    189 
    190188Annotates each object in the ``QuerySet`` with the provided list of
    191189aggregate values (averages, sums, etc) that have been computed over
    192190the objects that are related to the objects in the ``QuerySet``.
     
    278276ordering may well be exactly what you want to do. Use ordering on multi-valued
    279277fields with care and make sure the results are what you expect.
    280278
    281 .. versionadded:: 1.0
    282 
    283279If you don't want any ordering to be applied to a query, not even the default
    284280ordering, call ``order_by()`` with no parameters.
    285281
    286 .. versionadded:: 1.0
    287 
    288 The syntax for ordering across related models has changed. See the `Django 0.96
    289 documentation`_ for the old behaviour.
    290 
    291 .. _Django 0.96 documentation: http://www.djangoproject.com/documentation/0.96/model-api/#floatfield
    292 
    293282There's no way to specify whether ordering should be case sensitive. With
    294283respect to case-sensitivity, Django will order results however your database
    295284backend normally orders them.
    296285
    297 .. versionadded:: 1.1
    298 
    299286You can tell if a query is ordered or not by checking the
    300287:attr:`QuerySet.ordered` attribute, which will be ``True`` if the
    301288``QuerySet`` has been ordered in any way.
     
    305292
    306293.. method:: reverse()
    307294
    308 .. versionadded:: 1.0
    309 
    310295Use the ``reverse()`` method to reverse the order in which a queryset's
    311296elements are returned. Calling ``reverse()`` a second time restores the
    312297ordering back to the normal direction.
     
    431416      if the ``extra()`` clause is used after the ``values()``, the
    432417      fields added by the select will be included automatically.
    433418
    434 .. versionadded:: 1.0
    435 
    436 Previously, it was not possible to pass ``blog_id`` to ``values()`` in the above
    437 example, only ``blog``.
    438 
    439419A ``ValuesQuerySet`` is useful when you know you're only going to need values
    440420from a small number of the available fields and you won't need the
    441421functionality of a model instance object. It's more efficient to select only
     
    458438
    459439.. method:: values_list(*fields)
    460440
    461 .. versionadded:: 1.0
    462 
    463441This is similar to ``values()`` except that instead of returning dictionaries,
    464442it returns tuples when iterated over. Each tuple contains the value from the
    465443respective field passed into the ``values_list()`` call -- so the first item is
     
    524502
    525503.. method:: none()
    526504
    527 .. versionadded:: 1.0
    528 
    529505Returns an ``EmptyQuerySet`` -- a ``QuerySet`` that always evaluates to
    530506an empty list. This can be used in cases where you know that you should
    531507return an empty result set and your caller is expecting a ``QuerySet``
     
    541517
    542518.. method:: all()
    543519
    544 .. versionadded:: 1.0
    545 
    546520Returns a ''copy'' of the current ``QuerySet`` (or ``QuerySet`` subclass you
    547521pass in). This can be useful in some situations where you might want to pass
    548522in either a model manager or a ``QuerySet`` and do further filtering on the
     
    656630parameter in the same ``select_related()`` call, since they are
    657631conflicting options.
    658632
    659 .. versionadded:: 1.0
    660 
    661 Both the ``depth`` argument and the ability to specify field names in the call
    662 to ``select_related()`` are new in Django version 1.0.
    663 
    664633.. versionchanged:: 1.2
    665634
    666635You can also refer to the reverse direction of a ``OneToOneFields`` in
     
    733702    some database backends, such as some MySQL versions, don't support
    734703    subqueries.
    735704
    736     .. versionadded:: 1.0
    737 
    738705    In some rare cases, you might wish to pass parameters to the SQL fragments
    739706    in ``extra(select=...)``. For this purpose, use the ``select_params``
    740707    parameter. Since ``select_params`` is a sequence and the ``select``
     
    840807
    841808.. method:: defer(*fields)
    842809
    843 .. versionadded:: 1.1
    844 
    845810In some complex data-modeling situations, your models might contain a lot of
    846811fields, some of which could contain a lot of data (for example, text fields),
    847812or require expensive processing to convert them to Python objects. If you are
     
    900865
    901866.. method:: only(*fields)
    902867
    903 .. versionadded:: 1.1
    904 
    905868The ``only()`` method is more or less the opposite of ``defer()``. You
    906869call it with the fields that should *not* be deferred when retrieving a model.
    907870If you have a model where almost all the fields need to be deferred, using
     
    11761139
    11771140.. method:: aggregate(*args, **kwargs)
    11781141
    1179 .. versionadded:: 1.1
    1180 
    11811142Returns a dictionary of aggregate values (averages, sums, etc) calculated
    11821143over the ``QuerySet``. Each argument to ``aggregate()`` specifies
    11831144a value that will be included in the dictionary that is returned.
     
    12501211    SELECT ... WHERE id = 14;
    12511212    SELECT ... WHERE id IS NULL;
    12521213
    1253 .. versionchanged:: 1.0
    1254    The semantics of ``id__exact=None`` have changed in Django 1.0. Previously,
    1255    it was (intentionally) converted to ``WHERE id = NULL`` at the SQL level,
    1256    which would never match anything. It has now been changed to behave the
    1257    same as ``id__isnull=True``.
    1258 
    12591214.. admonition:: MySQL comparisons
    12601215
    12611216    In MySQL, a database table's "collation" setting determines whether
     
    13621317    inner_q = Blog.objects.filter(name__contains='Cheddar').values('pk').query
    13631318    entries = Entry.objects.filter(blog__in=inner_q)
    13641319
    1365 
    1366 .. versionchanged:: 1.1
    1367     In Django 1.0, only the latter piece of code is valid.
    1368 
    13691320This second form is a bit less readable and unnatural to write, since it
    13701321accesses the internal ``query`` attribute and requires a ``ValuesQuerySet``.
    13711322If your code doesn't require compatibility with Django 1.0, use the first
     
    16031554week_day
    16041555~~~~~~~~
    16051556
    1606 .. versionadded:: 1.1
    1607 
    16081557For date/datetime fields, a 'day of the week' match.
    16091558
    16101559Takes an integer value representing the day of week from 1 (Sunday) to 7
     
    16631612regex
    16641613~~~~~
    16651614
    1666 .. versionadded:: 1.0
    1667 
    16681615Case-sensitive regular expression match.
    16691616
    16701617The regular expression syntax is that of the database backend in use.
     
    16941641iregex
    16951642~~~~~~
    16961643
    1697 .. versionadded:: 1.0
    1698 
    16991644Case-insensitive regular expression match.
    17001645
    17011646Example::
     
    17171662Aggregation Functions
    17181663---------------------
    17191664
    1720 .. versionadded:: 1.1
    1721 
    17221665Django provides the following aggregation functions in the
    17231666``django.db.models`` module. For details on how to use these
    17241667aggregate functions, see
  • docs/ref/request-response.txt

    diff --git a/docs/ref/request-response.txt b/docs/ref/request-response.txt
    a b  
    4747
    4848.. attribute:: HttpRequest.encoding
    4949
    50     .. versionadded:: 1.0
    51 
    5250    A string representing the current encoding used to decode form submission
    5351    data (or ``None``, which means the ``DEFAULT_CHARSET`` setting is used).
    5452    You can write to this attribute to change the encoding used when accessing
     
    111109    ``enctype="multipart/form-data"``. Otherwise, ``FILES`` will be a blank
    112110    dictionary-like object.
    113111
    114     .. versionchanged:: 1.0
    115 
    116     In previous versions of Django, ``request.FILES`` contained simple ``dict``
    117     objects representing uploaded files. This is no longer true -- files are
    118     represented by ``UploadedFile`` objects as described below.
    119 
    120112    These ``UploadedFile`` objects will emulate the old-style ``dict``
    121113    interface, but this is deprecated and will be removed in the next release of
    122114    Django.
     
    189181
    190182.. method:: HttpRequest.get_host()
    191183
    192    .. versionadded:: 1.0
    193 
    194184   Returns the originating host of the request using information from the
    195185   ``HTTP_X_FORWARDED_HOST`` and ``HTTP_HOST`` headers (in that order). If
    196186   they don't provide a value, the method uses a combination of
     
    208198
    209199.. method:: HttpRequest.build_absolute_uri(location)
    210200
    211    .. versionadded:: 1.0
    212 
    213201   Returns the absolute URI form of ``location``. If no location is provided,
    214202   the location will be set to ``request.get_full_path()``.
    215203
     
    226214
    227215.. method:: HttpRequest.is_ajax()
    228216
    229    .. versionadded:: 1.0
    230 
    231217   Returns ``True`` if the request was made via an ``XMLHttpRequest``, by
    232218   checking the ``HTTP_X_REQUESTED_WITH`` header for the string
    233219   ``'XMLHttpRequest'``. Most modern JavaScript libraries send this header.
     
    434420    >>> response = HttpResponse()
    435421    >>> response['Cache-Control'] = 'no-cache'
    436422
    437 .. versionadded:: 1.1
    438 
    439423HTTP headers cannot contain newlines. An attempt to set a header containing a
    440424newline character (CR or LF) will raise ``BadHeaderError``
    441425
     
    478462
    479463    ``status`` is the `HTTP Status code`_ for the response.
    480464
    481     .. versionadded:: 1.0
    482 
    483465    ``content_type`` is an alias for ``mimetype``. Historically, this parameter
    484466    was only called ``mimetype``, but since this is actually the value included
    485467    in the HTTP ``Content-Type`` header, it can also include the character set
     
    576558
    577559.. class:: HttpResponseBadRequest
    578560
    579     .. versionadded:: 1.0
    580 
    581561    Acts just like :class:`HttpResponse` but uses a 400 status code.
    582562
    583563.. class:: HttpResponseNotFound
  • docs/ref/settings.txt

    diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
    a b  
    538538DEBUG_PROPAGATE_EXCEPTIONS
    539539--------------------------
    540540
    541 .. versionadded:: 1.0
    542 
    543541Default: ``False``
    544542
    545543If set to True, Django's normal exception handling of view functions
     
    605603DEFAULT_INDEX_TABLESPACE
    606604------------------------
    607605
    608 .. versionadded:: 1.0
    609 
    610606Default: ``''`` (Empty string)
    611607
    612608Default tablespace to use for indexes on fields that don't specify
     
    617613DEFAULT_TABLESPACE
    618614------------------
    619615
    620 .. versionadded:: 1.0
    621 
    622616Default: ``''`` (Empty string)
    623617
    624618Default tablespace to use for models that don't specify one, if the
     
    721715EMAIL_USE_TLS
    722716-------------
    723717
    724 .. versionadded:: 1.0
    725 
    726718Default: ``False``
    727719
    728720Whether to use a TLS (secure) connection when talking to the SMTP server.
     
    732724FILE_CHARSET
    733725------------
    734726
    735 .. versionadded:: 1.0
    736 
    737727Default: ``'utf-8'``
    738728
    739729The character encoding used to decode any files read from disk. This includes
     
    744734FILE_UPLOAD_HANDLERS
    745735--------------------
    746736
    747 .. versionadded:: 1.0
    748 
    749737Default::
    750738
    751739    ("django.core.files.uploadhandler.MemoryFileUploadHandler",
     
    758746FILE_UPLOAD_MAX_MEMORY_SIZE
    759747---------------------------
    760748
    761 .. versionadded:: 1.0
    762 
    763749Default: ``2621440`` (i.e. 2.5 MB).
    764750
    765751The maximum size (in bytes) that an upload will be before it gets streamed to
     
    798784FILE_UPLOAD_TEMP_DIR
    799785--------------------
    800786
    801 .. versionadded:: 1.0
    802 
    803787Default: ``None``
    804788
    805789The directory to store data temporarily while uploading files. If ``None``,
     
    945929LANGUAGE_COOKIE_NAME
    946930--------------------
    947931
    948 .. versionadded:: 1.0
    949 
    950932Default: ``'django_language'``
    951933
    952934The name of the cookie to use for the language cookie. This can be whatever you
     
    1011993LOGIN_REDIRECT_URL
    1012994------------------
    1013995
    1014 .. versionadded:: 1.0
    1015 
    1016996Default: ``'/accounts/profile/'``
    1017997
    1018998The URL where requests are redirected after login when the
     
    10261006LOGIN_URL
    10271007---------
    10281008
    1029 .. versionadded:: 1.0
    1030 
    10311009Default: ``'/accounts/login/'``
    10321010
    10331011The URL where requests are redirected for login, especially when using the
     
    10381016LOGOUT_URL
    10391017----------
    10401018
    1041 .. versionadded:: 1.0
    1042 
    10431019Default: ``'/accounts/logout/'``
    10441020
    10451021LOGIN_URL counterpart.
     
    13041280SESSION_COOKIE_PATH
    13051281-------------------
    13061282
    1307 .. versionadded:: 1.0
    1308 
    13091283Default: ``'/'``
    13101284
    13111285The path set on the session cookie. This should either match the URL path of your
     
    13321306SESSION_ENGINE
    13331307--------------
    13341308
    1335 .. versionadded:: 1.0
    1336 
    1337 .. versionchanged:: 1.1
    1338    The ``cached_db`` backend was added
    1339 
    13401309Default: ``django.contrib.sessions.backends.db``
    13411310
    13421311Controls where Django stores session data. Valid values are:
     
    13631332SESSION_FILE_PATH
    13641333-----------------
    13651334
    1366 .. versionadded:: 1.0
    1367 
    13681335Default: ``None``
    13691336
    13701337If you're using file-based session storage, this sets the directory in
  • docs/ref/signals.txt

    diff --git a/docs/ref/signals.txt b/docs/ref/signals.txt
    a b  
    470470.. data:: django.db.backends.signals.connection_created
    471471   :module:
    472472
    473 .. versionadded:: 1.1
    474 
    475473.. versionchanged:: 1.2
    476474   The connection argument was added
    477475
  • docs/ref/templates/api.txt

    diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
    a b  
    426426django.core.context_processors.media
    427427~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    428428
    429 .. versionadded:: 1.0
    430 
    431429If :setting:`TEMPLATE_CONTEXT_PROCESSORS` contains this processor, every
    432430``RequestContext`` will contain a variable ``MEDIA_URL``, providing the
    433431value of the :setting:`MEDIA_URL` setting.
  • docs/ref/templates/builtins.txt

    diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
    a b  
    1919autoescape
    2020~~~~~~~~~~
    2121
    22 .. versionadded:: 1.0
    23 
    2422Control the current auto-escaping behavior. This tag takes either ``on`` or
    2523``off`` as an argument and that determines whether auto-escaping is in effect
    2624inside the block. The block is closed with an ``endautoescape`` ending tag.
     
    7270cycle
    7371~~~~~
    7472
    75 .. versionchanged:: 1.0
    76     Cycle among the given strings or variables each time this tag is encountered.
     73Cycle among the given strings or variables each time this tag is encountered.
    7774
    7875Within a loop, cycles among the given strings each time through the
    7976loop::
     
    239236
    240237You can loop over a list in reverse by using ``{% for obj in list reversed %}``.
    241238
    242 .. versionadded:: 1.0
    243 
    244239If you need to loop over a list of lists, you can unpack the values
    245240in each sub-list into individual variables. For example, if your context
    246241contains a list of (x,y) coordinates called ``points``, you could use the
     
    278273for ... empty
    279274^^^^^^^^^^^^^
    280275
    281 .. versionadded:: 1.1
    282 
    283276The ``for`` tag can take an optional ``{% empty %}`` clause that will be
    284277displayed if the given array is empty or could not be found::
    285278
     
    953946
    954947The template tag will output the string ``/clients/client/123/``.
    955948
    956 .. versionadded:: 1.0
    957 
    958949If you're using :ref:`named URL patterns <naming-url-patterns>`, you can
    959950refer to the name of the pattern in the ``url`` tag instead of using the
    960951path to the view.
     
    963954:exc:`NoReverseMatch` exception raised, which will cause your site to display an
    964955error page.
    965956
    966 .. versionadded:: 1.0
    967 
    968957If you'd like to retrieve a URL without displaying it, you can use a slightly
    969958different call::
    970959
     
    981970      <a href="{{ the_url }}">Link to optional stuff</a>
    982971    {% endif %}
    983972
    984 .. versionadded:: 1.1
    985 
    986973If you'd like to retrieve a namespaced URL, specify the fully qualified name::
    987974
    988975    {% url myapp:view-name %}
     
    10261013with
    10271014~~~~
    10281015
    1029 .. versionadded:: 1.0
    1030 
    10311016Caches a complex variable under a simpler name. This is useful when accessing
    10321017an "expensive" method (e.g., one that hits the database) multiple times.
    10331018
     
    12781263it is safe to use this function even in auto-escaping environments. If you want
    12791264multiple escaping passes to be applied, use the ``force_escape`` filter.
    12801265
    1281 .. versionchanged:: 1.0
    1282     Due to auto-escaping, the behavior of this filter has changed slightly.
    1283     The replacements are only made once, after
    1284     all other filters are applied -- including filters before and after it.
    1285 
    12861266.. templatefilter:: escapejs
    12871267
    12881268escapejs
    12891269~~~~~~~~
    12901270
    1291 .. versionadded:: 1.0
    1292 
    12931271Escapes characters for use in JavaScript strings. This does *not* make the
    12941272string safe for use in HTML, but does protect you from syntax errors when using
    12951273templates to generate JavaScript/JSON.
     
    13331311fix_ampersands
    13341312~~~~~~~~~~~~~~
    13351313
    1336 .. versionchanged:: 1.0
    1337     This is rarely useful as ampersands are now automatically escaped. See escape_ for more information.
     1314..note::
     1315
     1316    This is rarely useful as ampersands are automatically escaped. See escape_ for more information.
    13381317
    13391318Replaces ampersands with ``&amp;`` entities.
    13401319
     
    13911370force_escape
    13921371~~~~~~~~~~~~
    13931372
    1394 .. versionadded:: 1.0
    1395 
    13961373Applies HTML escaping to a string (see the ``escape`` filter for details).
    13971374This filter is applied *immediately* and returns a new, escaped string. This
    13981375is useful in the rare cases where you need multiple escaping or want to apply
     
    14521429last
    14531430~~~~
    14541431
    1455 .. versionadded:: 1.0
    1456 
    14571432Returns the last item in a list.
    14581433
    14591434For example::
     
    19181893Recursively takes a self-nested list and returns an HTML unordered list --
    19191894WITHOUT opening and closing <ul> tags.
    19201895
    1921 .. versionchanged:: 1.0
    1922    The format accepted by ``unordered_list`` has changed to be easier to understand.
    1923 
    19241896The list is assumed to be in the proper format. For example, if ``var`` contains
    19251897``['States', ['Kansas', ['Lawrence', 'Topeka'], 'Illinois']]``, then
    19261898``{{ var|unordered_list }}`` would return::
     
    19371909    </ul>
    19381910    </li>
    19391911
    1940 Note: the previous more restrictive and verbose format is still supported:
     1912Note: An older, more restrictive and verbose input format is also supported:
    19411913``['States', [['Kansas', [['Lawrence', []], ['Topeka', []]]], ['Illinois', []]]]``,
    19421914
    19431915.. templatefilter:: upper
  • docs/ref/unicode.txt

    diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt
    a b  
    22Unicode data
    33============
    44
    5 .. versionadded:: 1.0
    6 
    75Django natively supports Unicode data everywhere. Providing your database can
    86somehow store the data, you can safely pass around Unicode strings to
    97templates, models and the database.
  • docs/topics/auth.txt

    diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
    a b  
    190190
    191191    .. method:: models.User.set_unusable_password()
    192192
    193         .. versionadded:: 1.0
    194 
    195193        Marks the user as having no password set.  This isn't the same as
    196194        having a blank string for a password.
    197195        :meth:`~django.contrib.auth.models.User.check_password()` for this user
     
    203201
    204202    .. method:: models.User.has_usable_password()
    205203
    206         .. versionadded:: 1.0
    207 
    208204        Returns ``False`` if
    209205        :meth:`~django.contrib.auth.models.User.set_unusable_password()` has
    210206        been called for this user.
     
    395391only supported on platforms that have the standard Python ``crypt`` module
    396392available.
    397393
    398 .. versionadded:: 1.0
    399     Support for the ``crypt`` module is new in Django 1.0.
    400 
    401394For example::
    402395
    403396    sha1$a1976$a36cc8cbf81742a8fb52e221aaeab48ed7f58ab4
     
    450443Creating superusers
    451444-------------------
    452445
    453 .. versionadded:: 1.0
    454    The ``manage.py createsuperuser`` command is new.
    455 
    456446:djadmin:`manage.py syncdb <syncdb>` prompts you to create a superuser the
    457447first time you run it after adding ``'django.contrib.auth'`` to your
    458448:setting:`INSTALLED_APPS`. If you need to create a superuser at a later date,
     
    653643    Note that :func:`~django.contrib.auth.logout()` doesn't throw any errors if
    654644    the user wasn't logged in.
    655645
    656     .. versionchanged:: 1.0
    657        Calling ``logout()`` now cleans session data.
    658 
    659646    When you call :func:`~django.contrib.auth.logout()`, the session data for
    660647    the current request is completely cleaned out. All existing data is
    661648    removed. This is to prevent another person from using the same web browser
  • docs/topics/cache.txt

    diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt
    a b  
    238238Using a custom cache backend
    239239----------------------------
    240240
    241 .. versionadded:: 1.0
    242 
    243241While Django includes support for a number of cache backends out-of-the-box,
    244242sometimes you might want to use a customized cache backend. To use an external
    245243cache backend with Django, use a Python import path as the scheme portion (the
     
    291289The per-site cache
    292290==================
    293291
    294 .. versionchanged:: 1.0
    295     (previous versions of Django only provided a single ``CacheMiddleware`` instead
    296     of the two pieces described below).
    297 
    298292Once the cache is set up, the simplest way to use caching is to cache your
    299293entire site. You'll need to add
    300294``'django.middleware.cache.UpdateCacheMiddleware'`` and
     
    344338
    345339See :doc:`/topics/http/middleware` for more on middleware.
    346340
    347 .. versionadded:: 1.0
    348 
    349341If a view sets its own cache expiry time (i.e. it has a ``max-age`` section in
    350342its ``Cache-Control`` header) then the page will be cached until the expiry
    351343time, rather than ``CACHE_MIDDLEWARE_SECONDS``. Using the decorators in
     
    441433Template fragment caching
    442434=========================
    443435
    444 .. versionadded:: 1.0
    445 
    446436If you're after even more control, you can also cache template fragments using
    447437the ``cache`` template tag. To give your template access to this tag, put
    448438``{% load cache %}`` near the top of your template.
     
    558548    >>> cache.get('my_key', 'has expired')
    559549    'has expired'
    560550
    561 .. versionadded:: 1.0
    562 
    563551To add a key only if it doesn't already exist, use the ``add()`` method.
    564552It takes the same parameters as ``set()``, but it will not attempt to
    565553update the cache if the key specified is already present::
     
    614602
    615603    >>> cache.clear()
    616604
    617 .. versionadded:: 1.1
    618 
    619605You can also increment or decrement a key that already exists using the
    620606``incr()`` or ``decr()`` methods, respectively. By default, the existing cache
    621607value will incremented or decremented by 1. Other increment/decrement values
  • docs/topics/conditional-view-processing.txt

    diff --git a/docs/topics/conditional-view-processing.txt b/docs/topics/conditional-view-processing.txt
    a b  
    22Conditional View Processing
    33===========================
    44
    5 .. versionadded:: 1.1
    6 
    75HTTP clients can send a number of headers to tell the server about copies of a
    86resource that they have already seen. This is commonly used when retrieving a
    97web page (using an HTTP ``GET`` request) to avoid sending all the data for
  • docs/topics/db/aggregation.txt

    diff --git a/docs/topics/db/aggregation.txt b/docs/topics/db/aggregation.txt
    a b  
    22Aggregation
    33===========
    44
    5 .. versionadded:: 1.1
    6 
    75.. currentmodule:: django.db.models
    86
    97The topic guide on :doc:`Django's database-abstraction API </topics/db/queries>`
  • docs/topics/db/models.txt

    diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt
    a b  
    387387Extra fields on many-to-many relationships
    388388~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    389389
    390 .. versionadded:: 1.0
    391 
    392390When you're only dealing with simple many-to-many relationships such as
    393391mixing and matching pizzas and toppings, a standard :class:`~django.db.models.ManyToManyField` is all you need. However, sometimes
    394392you may need to associate data with the relationship between two models.
     
    552550
    553551.. _One-to-one relationship model example: http://www.djangoproject.com/documentation/models/one_to_one/
    554552
    555 .. versionadded:: 1.0
    556 
    557553:class:`~django.db.models.OneToOneField` fields also accept one optional argument
    558554described in the :ref:`model field reference <ref-onetoone>`.
    559555
     
    605601Custom field types
    606602------------------
    607603
    608 .. versionadded:: 1.0
    609 
    610604If one of the existing model fields cannot be used to fit your purposes, or if
    611605you wish to take advantage of some less common database column types, you can
    612606create your own field class. Full coverage of creating your own fields is
     
    768762Model inheritance
    769763=================
    770764
    771 .. versionadded:: 1.0
    772 
    773765Model inheritance in Django works almost identically to the way normal
    774766class inheritance works in Python. The only decision you have to make
    775767is whether you want the parent models to be models in their own right
     
    10251017Proxy models
    10261018------------
    10271019
    1028 .. versionadded:: 1.1
    1029 
    10301020When using :ref:`multi-table inheritance <multi-table-inheritance>`, a new
    10311021database table is created for each subclass of a model. This is usually the
    10321022desired behavior, since the subclass needs a place to store any additional
  • docs/topics/db/queries.txt

    diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt
    a b  
    437437Spanning multi-valued relationships
    438438~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    439439
    440 .. versionadded:: 1.0
    441 
    442440When you are filtering an object based on a ``ManyToManyField`` or a reverse
    443441``ForeignKey``, there are two different sorts of filter you may be
    444442interested in. Consider the ``Blog``/``Entry`` relationship (``Blog`` to
     
    494492Filters can reference fields on the model
    495493-----------------------------------------
    496494
    497 .. versionadded:: 1.1
    498 
    499495In the examples given so far, we have constructed filters that compare
    500496the value of a model field with a constant. But what if you want to compare
    501497the value of a model field with another field on the same model?
     
    766762Updating multiple objects at once
    767763=================================
    768764
    769 .. versionadded:: 1.0
    770 
    771765Sometimes you want to set a field to a particular value for all the objects in
    772766a ``QuerySet``. You can do this with the ``update()`` method. For example::
    773767
     
    806800    for item in my_queryset:
    807801        item.save()
    808802
    809 .. versionadded:: 1.1
    810 
    811803Calls to update can also use :ref:`F() objects <query-expressions>` to update
    812804one field based on the value of another field in the model. This is especially
    813805useful for incrementing counters based upon their current value. For example, to
  • docs/topics/db/transactions.txt

    diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt
    a b  
    301301Database-level autocommit
    302302-------------------------
    303303
    304 .. versionadded:: 1.1
    305 
    306304With PostgreSQL 8.2 or later, there is an advanced option to run PostgreSQL
    307305with :doc:`database-level autocommit </ref/databases>`. If you use this option,
    308306there is no constantly open transaction, so it is always possible to continue
  • docs/topics/email.txt

    diff --git a/docs/topics/email.txt b/docs/topics/email.txt
    a b  
    196196The EmailMessage class
    197197======================
    198198
    199 .. versionadded:: 1.0
    200 
    201199Django's :meth:`~django.core.mail.send_mail()` and
    202200:meth:`~django.core.mail.send_mass_mail()` functions are actually thin
    203201wrappers that make use of the :class:`~django.core.mail.EmailMessage` class.
  • docs/topics/files.txt

    diff --git a/docs/topics/files.txt b/docs/topics/files.txt
    a b  
    22Managing files
    33==============
    44
    5 .. versionadded:: 1.0
    6 
    75This document describes Django's file access APIs.
    86
    97By default, Django stores files locally, using the :setting:`MEDIA_ROOT` and
  • docs/topics/forms/formsets.txt

    diff --git a/docs/topics/forms/formsets.txt b/docs/topics/forms/formsets.txt
    a b  
    157157the management data by rendering ``{{ my_formset.management_form }}``
    158158(substituting the name of your formset as appropriate).
    159159
    160 .. versionadded:: 1.1
    161 
    162160``total_form_count`` and ``initial_form_count``
    163161~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    164162
  • docs/topics/forms/index.txt

    diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt
    a b  
    113113    3. If the form has been submitted but is invalid, the bound form instance is
    114114       passed on to the template.
    115115
    116 .. versionchanged:: 1.0
    117     The ``cleaned_data`` attribute was called ``clean_data`` in earlier releases.
    118 
    119116The distinction between **bound** and **unbound** forms is important. An unbound
    120117form does not have any data associated with it; when rendered to the user, it
    121118will be empty or will contain default values. A bound form does have submitted
     
    343340interaction won't alter them. However, you could easily insert some error
    344341displays for those form errors, as well.
    345342
    346 .. versionadded:: 1.1
    347     The ``hidden_fields`` and ``visible_fields`` methods are new in Django
    348     1.1.
    349 
    350343Reusable form templates
    351344-----------------------
    352345
  • docs/topics/forms/modelforms.txt

    diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt
    a b  
    105105                                     ``widget=forms.Textarea``
    106106    ===============================  ========================================
    107107
    108 
    109 .. versionadded:: 1.0
    110     The ``FloatField`` form field and ``DecimalField`` model and form fields
    111     are new in Django 1.0.
    112 
    113108.. versionadded:: 1.2
    114109    The ``BigIntegerField`` is new in Django 1.2.
    115110
     
    305300
    3063012. Use the ``fields`` attribute of the ``ModelForm``'s inner ``Meta``
    307302   class.  This attribute, if given, should be a list of field names
    308    to include in the form.
    309 
    310    .. versionchanged:: 1.1
    311 
    312    The form will render the fields in the same order they are specified in the
    313    ``fields`` attribute.
     303   to include in the form. The order in which the fields names are specified
     304   in that list is respected when the form renders them.
    314305
    3153063. Use the ``exclude`` attribute of the ``ModelForm``'s inner ``Meta``
    316307   class.  This attribute, if given, should be a list of field names
     
    450441Changing the order of fields
    451442----------------------------
    452443
    453 .. versionadded:: 1.1
    454 
    455444By default, a ``ModelForm`` will render fields in the same order that they are
    456445defined on the model, with ``ManyToManyField`` instances appearing last. If
    457446you want to change the order in which fields are rendered, you can use the
  • docs/topics/http/file-uploads.txt

    diff --git a/docs/topics/http/file-uploads.txt b/docs/topics/http/file-uploads.txt
    a b  
    44
    55.. currentmodule:: django.core.files
    66
    7 .. versionadded:: 1.0
    8 
    97When Django handles a file upload, the file data ends up placed in
    108:attr:`request.FILES <django.http.HttpRequest.FILES>` (for more on the
    119``request`` object see the documentation for :doc:`request and response objects
  • docs/topics/http/sessions.txt

    diff --git a/docs/topics/http/sessions.txt b/docs/topics/http/sessions.txt
    a b  
    2929Configuring the session engine
    3030==============================
    3131
    32 .. versionadded:: 1.0
    33 
    3432By default, Django stores sessions in your database (using the model
    3533``django.contrib.sessions.models.Session``). Though this is convenient, in
    3634some setups it's faster to store session data elsewhere, so Django can be
     
    5048
    5149For better performance, you may want to use a cache-based session backend.
    5250
    53 .. versionchanged:: 1.1
    54    Django 1.0 did not include the ``cached_db`` session backend.
    55 
    5651To store session data using Django's cache system, you'll first need to make
    5752sure you've configured your cache; see the :doc:`cache documentation
    5853</topics/cache>` for details.
     
    138133
    139134    * ``clear()``
    140135
    141 .. versionadded:: 1.0
    142    ``setdefault()`` and ``clear()`` are new in this version.
    143 
    144136It also has these methods:
    145137
    146138    * ``flush()``
    147139
    148       .. versionadded:: 1.0
    149 
    150140      Delete the current session data from the session and regenerate the
    151141      session key value that is sent back to the user in the cookie. This is
    152142      used if you want to ensure that the previous session data can't be
     
    173163
    174164    * ``set_expiry(value)``
    175165
    176       .. versionadded:: 1.0
    177 
    178166      Sets the expiration time for the session. You can pass a number of
    179167      different values:
    180168
     
    198186
    199187    * ``get_expiry_age()``
    200188
    201       .. versionadded:: 1.0
    202 
    203189      Returns the number of seconds until this session expires. For sessions
    204190      with no custom expiration (or those set to expire at browser close), this
    205191      will equal ``settings.SESSION_COOKIE_AGE``.
    206192
    207193    * ``get_expiry_date()``
    208194
    209       .. versionadded:: 1.0
    210 
    211195      Returns the date this session will expire. For sessions with no custom
    212196      expiration (or those set to expire at browser close), this will equal the
    213197      date ``settings.SESSION_COOKIE_AGE`` seconds from now.
    214198
    215199    * ``get_expire_at_browser_close()``
    216200
    217       .. versionadded:: 1.0
    218 
    219201      Returns either ``True`` or ``False``, depending on whether the user's
    220202      session cookie will expire when the user's Web browser is closed.
    221203
     
    302284Using sessions out of views
    303285===========================
    304286
    305 .. versionadded:: 1.0
    306 
    307287An API is available to manipulate session data outside of a view::
    308288
    309289    >>> from django.contrib.sessions.backends.db import SessionStore
     
    384364her browser. Use this if you want people to have to log in every time they open
    385365a browser.
    386366
    387 .. versionadded:: 1.0
    388 
    389367This setting is a global default and can be overwritten at a per-session level
    390368by explicitly calling ``request.session.set_expiry()`` as described above in
    391369`using sessions in views`_.
     
    415393SESSION_ENGINE
    416394--------------
    417395
    418 .. versionadded:: 1.0
    419 
    420 .. versionchanged:: 1.1
    421    The ``cached_db`` backend was added
    422 
    423396Default: ``django.contrib.sessions.backends.db``
    424397
    425398Controls where Django stores session data. Valid values are:
     
    434407SESSION_FILE_PATH
    435408-----------------
    436409
    437 .. versionadded:: 1.0
    438 
    439410Default: ``/tmp/``
    440411
    441412If you're using file-based session storage, this sets the directory in
     
    467438SESSION_COOKIE_PATH
    468439-------------------
    469440
    470 .. versionadded:: 1.0
    471 
    472441Default: ``'/'``
    473442
    474443The path set on the session cookie. This should either match the URL path of
  • docs/topics/http/shortcuts.txt

    diff --git a/docs/topics/http/shortcuts.txt b/docs/topics/http/shortcuts.txt
    a b  
    4848
    4949``mimetype``
    5050
    51     .. versionadded:: 1.0
    52 
    5351    The MIME type to use for the resulting document. Defaults to the value of
    5452    the :setting:`DEFAULT_CONTENT_TYPE` setting.
    5553
     
    8381
    8482.. function:: redirect(to[, permanent=False], *args, **kwargs)
    8583
    86    .. versionadded:: 1.1
    87 
    8884   Returns an HttpResponseRedirect to the apropriate URL for the arguments
    8985   passed.
    9086
  • docs/topics/http/urls.txt

    diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt
    a b  
    223223url
    224224---
    225225
    226 .. versionadded:: 1.0
    227 
    228226.. function:: url(regex, view, kwargs=None, name=None, prefix='')
    229227
    230228You can use the ``url()`` function, instead of a tuple, as an argument to
     
    283281A function that takes a full Python import path to another URLconf module that
    284282should be "included" in this place.
    285283
    286 .. versionadded:: 1.1
    287 
    288284:func:`include` also accepts as an argument an iterable that returns URL
    289285patterns.
    290286
     
    415411up to that point and sends the remaining string to the included URLconf for
    416412further processing.
    417413
    418 .. versionadded:: 1.1
    419 
    420414Another possibility is to include additional URL patterns not by specifying the
    421415URLconf Python module defining them as the `include`_ argument but by using
    422416directly the pattern list as returned by `patterns`_ instead. For example::
     
    634628Naming URL patterns
    635629===================
    636630
    637 .. versionadded:: 1.0
    638 
    639631It's fairly common to use the same view function in multiple URL patterns in
    640632your URLconf. For example, these two URL patterns both point to the ``archive``
    641633view::
     
    694686URL namespaces
    695687--------------
    696688
    697 .. versionadded:: 1.1
    698 
    699689Namespaced URLs are specified using the ``:`` operator. For example, the main
    700690index page of the admin application is referenced using ``admin:index``. This
    701691indicates a namespace of ``admin``, and a named URL of ``index``.
     
    801791matching against incoming URLs and sending them off to views, but you cannot
    802792reverse such patterns.
    803793
    804 .. versionadded:: 1.1
    805 
    806794The ``current_app`` argument allows you to provide a hint to the resolver
    807795indicating the application to which the currently executing view belongs.
    808796This ``current_app`` argument is used as a hint to resolve application
  • docs/topics/i18n/deployment.txt

    diff --git a/docs/topics/i18n/deployment.txt b/docs/topics/i18n/deployment.txt
    a b  
    8181
    8282    * Failing that, it looks for a cookie.
    8383
    84       .. versionchanged:: 1.0
    85 
    86       In Django version 0.96 and before, the cookie's name is hard-coded to
    87       ``django_language``. In Django 1,0, The cookie name is set by the
    88       ``LANGUAGE_COOKIE_NAME`` setting. (The default name is
    89       ``django_language``.)
     84      The name of the cookie used is set by the ``LANGUAGE_COOKIE_NAME``
     85      setting. (The default name is ``django_language``.)
    9086
    9187    * Failing that, it looks at the ``Accept-Language`` HTTP header. This
    9288      header is sent by your browser and tells the server which language(s) you
  • docs/topics/pagination.txt

    diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt
    a b  
    55.. module:: django.core.paginator
    66   :synopsis: Classes to help you easily manage paginated data.
    77
    8 .. versionchanged:: 1.0
    9    Pagination facilities have been almost fully reworked.
    10 
    118Django provides a few classes that help you manage paginated data -- that is,
    129data that's split across several pages, with "Previous/Next" links. These
    1310classes live in :file:`django/core/paginator.py`.
  • docs/topics/templates.txt

    diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt
    a b  
    390390Automatic HTML escaping
    391391=======================
    392392
    393 .. versionadded:: 1.0
    394 
    395393When generating HTML from templates, there's always a risk that a variable will
    396394include characters that affect the resulting HTML. For example, consider this
    397395template fragment::
  • docs/topics/testing.txt

    diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt
    a b  
    256256
    257257Note that we used ``animals``, not ``myproject.animals``.
    258258
    259 .. versionadded:: 1.0
    260    You can now choose which test to run.
    261 
    262259You can be even *more* specific by naming an individual test case. To
    263260run a single test case in an application (for example, the
    264261``AnimalTestCase`` described in the "Writing unit tests" section), add
     
    352349to make sure that the given user account has sufficient privileges to
    353350create a new database on the system.
    354351
    355 .. versionadded:: 1.0
    356 
    357352For fine-grained control over the character encoding of your test
    358353database, use the :setting:`TEST_CHARSET` option. If you're using
    359354MySQL, you can also use the :setting:`TEST_COLLATION` option to
     
    626621        details view, which is a good way to test code paths that use the
    627622        :meth:`django.http.HttpRequest.is_ajax()` method.
    628623
    629         .. versionadded:: 1.1
    630 
    631624        If you already have the GET arguments in URL-encoded form, you can
    632625        use that encoding instead of using the data argument. For example,
    633626        the previous GET request could also be posed as::
     
    710703
    711704        The ``extra`` argument acts the same as for :meth:`Client.get`.
    712705
    713         .. versionchanged:: 1.1
    714 
    715706        If the URL you request with a POST contains encoded parameters, these
    716707        parameters will be made available in the request.GET data. For example,
    717708        if you were to make the request::
     
    728719
    729720    .. method:: Client.head(path, data={}, follow=False, **extra)
    730721
    731         .. versionadded:: 1.1
    732 
    733722        Makes a HEAD request on the provided ``path`` and returns a ``Response``
    734723        object. Useful for testing RESTful interfaces. Acts just like
    735724        :meth:`Client.get` except it does not return a message body.
     
    740729
    741730    .. method:: Client.options(path, data={}, follow=False, **extra)
    742731
    743         .. versionadded:: 1.1
    744 
    745732        Makes an OPTIONS request on the provided ``path`` and returns a
    746733        ``Response`` object. Useful for testing RESTful interfaces.
    747734
     
    753740
    754741    .. method:: Client.put(path, data={}, content_type=MULTIPART_CONTENT, follow=False, **extra)
    755742
    756         .. versionadded:: 1.1
    757 
    758743        Makes a PUT request on the provided ``path`` and returns a
    759744        ``Response`` object. Useful for testing RESTful interfaces. Acts just
    760745        like :meth:`Client.post` except with the PUT request method.
     
    765750
    766751    .. method:: Client.delete(path, follow=False, **extra)
    767752
    768         .. versionadded:: 1.1
    769 
    770753        Makes an DELETE request on the provided ``path`` and returns a
    771754        ``Response`` object. Useful for testing RESTful interfaces.
    772755
     
    778761
    779762    .. method:: Client.login(**credentials)
    780763
    781         .. versionadded:: 1.0
    782 
    783764        If your site uses Django's :doc:`authentication system</topics/auth>`
    784765        and you deal with logging in users, you can use the test client's
    785766        ``login()`` method to simulate the effect of a user logging into the
     
    824805
    825806    .. method:: Client.logout()
    826807
    827         .. versionadded:: 1.0
    828 
    829808        If your site uses Django's :doc:`authentication system</topics/auth>`,
    830809        the ``logout()`` method can be used to simulate the effect of a user
    831810        logging out of your site.
     
    864843        If the rendered page used multiple templates, then ``context`` will be a
    865844        list of ``Context`` objects, in the order in which they were rendered.
    866845
    867         .. versionadded:: 1.1
    868 
    869846        Regardless of the number of templates used during rendering, you can
    870847        retrieve context values using the ``[]`` operator. For example, the
    871848        context variable ``name`` could be retrieved using::
     
    988965will continue to be available, but it will be augmented with some useful
    989966additions.
    990967
    991 .. versionadded:: 1.1
    992 
    993968.. class:: TransactionTestCase()
    994969
    995970Django ``TestCase`` classes make use of database transaction facilities, if
     
    10371012Default test client
    10381013~~~~~~~~~~~~~~~~~~~
    10391014
    1040 .. versionadded:: 1.0
    1041 
    10421015.. attribute:: TestCase.client
    10431016
    10441017Every test case in a ``django.test.TestCase`` instance has access to an
     
    11431116URLconf configuration
    11441117~~~~~~~~~~~~~~~~~~~~~
    11451118
    1146 .. versionadded:: 1.0
    1147 
    11481119.. attribute:: TestCase.urls
    11491120
    11501121If your application provides views, you may want to include tests that use the
     
    12121183Emptying the test outbox
    12131184~~~~~~~~~~~~~~~~~~~~~~~~
    12141185
    1215 .. versionadded:: 1.0
    1216 
    12171186If you use Django's custom ``TestCase`` class, the test runner will clear the
    12181187contents of the test e-mail outbox at the start of each test case.
    12191188
     
    12221191Assertions
    12231192~~~~~~~~~~
    12241193
    1225 .. versionadded:: 1.0
    1226 
    12271194.. versionchanged:: 1.2
    12281195    Addded ``msg_prefix`` argument.
    12291196
     
    12821249    redirected to ``expected_url`` (including any GET data), and the final
    12831250    page was received with ``target_status_code``.
    12841251
    1285     .. versionadded:: 1.1
    1286 
    12871252    If your request used the ``follow`` argument, the ``expected_url`` and
    12881253    ``target_status_code`` will be the url and status code for the final
    12891254    point of the redirect chain.
     
    13081273E-mail services
    13091274---------------
    13101275
    1311 .. versionadded:: 1.0
    1312 
    13131276If any of your Django views send e-mail using :doc:`Django's e-mail
    13141277functionality </topics/email>`, you probably don't want to send e-mail each time
    13151278you run a test using that view. For this reason, Django's test runner
     
    15581521    :setting:`NAME` in :setting:`DATABASES` to match the name of the test
    15591522    database.
    15601523
    1561     .. versionchanged:: 1.0
    1562        ``create_test_db()`` now returns the name of the test database.
    1563 
    15641524.. function:: destroy_test_db(old_database_name, verbosity=1)
    15651525
    15661526    Destroys the database whose name is in stored in :setting:`NAME` in the
Back to Top