diff options
| author | Tim Graham <timograham@gmail.com> | 2018-05-17 10:16:32 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-05-17 11:00:10 -0400 |
| commit | 7543ab1f8dcb20dbbdf6a41eace95fc47c8dcaa3 (patch) | |
| tree | 98e0f0cbec43f45ea36c09cafb97385bca028a9f /docs/topics | |
| parent | 1cbd3d7874a4887fa2a6d7ef582defc388429b97 (diff) | |
Removed versionadded/changed annotations for 2.0.
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/auth/customizing.txt | 6 | ||||
| -rw-r--r-- | docs/topics/cache.txt | 8 | ||||
| -rw-r--r-- | docs/topics/db/aggregation.txt | 4 | ||||
| -rw-r--r-- | docs/topics/db/instrumentation.txt | 2 | ||||
| -rw-r--r-- | docs/topics/db/sql.txt | 4 | ||||
| -rw-r--r-- | docs/topics/forms/media.txt | 6 | ||||
| -rw-r--r-- | docs/topics/pagination.txt | 2 |
7 files changed, 0 insertions, 32 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index 97fac352ac..2cb7d06bcc 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -628,12 +628,6 @@ password resets. You must then provide some key implementation details: first name. If implemented, this replaces the username in the greeting to the user in the header of :mod:`django.contrib.admin`. - .. versionchanged:: 2.0 - - In older versions, subclasses are required to implement - ``get_short_name()`` and ``get_full_name()`` as ``AbstractBaseUser`` - has implementations that raise ``NotImplementedError``. - .. admonition:: Importing ``AbstractBaseUser`` ``AbstractBaseUser`` and ``BaseUserManager`` are importable from diff --git a/docs/topics/cache.txt b/docs/topics/cache.txt index 3ca3a08a4a..2ffad67686 100644 --- a/docs/topics/cache.txt +++ b/docs/topics/cache.txt @@ -659,10 +659,6 @@ example: .. sidebar .. {% endcache %} -.. versionchanged:: 2.0 - - Older versions don't allow a ``None`` timeout. - Sometimes you might want to cache multiple copies of a fragment depending on some dynamic data that appears inside the fragment. For example, you might want a separate cached copy of the sidebar used in the previous example for every user @@ -872,10 +868,6 @@ Like ``cache.set()``, ``set_many()`` takes an optional ``timeout`` parameter. On supported backends (memcached), ``set_many()`` returns a list of keys that failed to be inserted. -.. versionchanged:: 2.0 - - The return value containing list of failing keys was added. - You can delete keys explicitly with ``delete()``. This is an easy way of clearing the cache for a particular object:: diff --git a/docs/topics/db/aggregation.txt b/docs/topics/db/aggregation.txt index 91a9b4fa3c..15af14542a 100644 --- a/docs/topics/db/aggregation.txt +++ b/docs/topics/db/aggregation.txt @@ -368,10 +368,6 @@ Each ``Author`` in the result set will have the ``num_books`` and rows. The aggregation ``filter`` argument is only useful when using two or more aggregations over the same relations with different conditionals. -.. versionchanged:: 2.0 - - The ``filter`` argument was added to aggregates. - Order of ``annotate()`` and ``filter()`` clauses ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/topics/db/instrumentation.txt b/docs/topics/db/instrumentation.txt index 9578c1224b..529347094f 100644 --- a/docs/topics/db/instrumentation.txt +++ b/docs/topics/db/instrumentation.txt @@ -2,8 +2,6 @@ Database instrumentation ======================== -.. versionadded:: 2.0 - To help you understand and control the queries issued by your code, Django provides a hook for installing wrapper functions around the execution of database queries. For example, wrappers can count queries, measure query diff --git a/docs/topics/db/sql.txt b/docs/topics/db/sql.txt index 39a54e4239..7f01c32c74 100644 --- a/docs/topics/db/sql.txt +++ b/docs/topics/db/sql.txt @@ -372,7 +372,3 @@ Calling stored procedures with connection.cursor() as cursor: cursor.callproc('test_procedure', [1, 'test']) - - .. versionchanged:: 2.0 - - The ``kparams`` argument was added. diff --git a/docs/topics/forms/media.txt b/docs/topics/forms/media.txt index d857188bb4..398a4538b1 100644 --- a/docs/topics/forms/media.txt +++ b/docs/topics/forms/media.txt @@ -335,12 +335,6 @@ For example:: Combining ``Media`` objects with assets in a conflicting order results in a ``MediaOrderConflictWarning``. -.. versionchanged:: 2.0 - - In older versions, the assets of ``Media`` objects are concatenated rather - than merged in a way that tries to preserve the relative ordering of the - elements in each list. - ``Media`` on Forms ================== diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt index 52cc4113b2..05c101321f 100644 --- a/docs/topics/pagination.txt +++ b/docs/topics/pagination.txt @@ -176,8 +176,6 @@ Methods .. method:: Paginator.get_page(number) - .. versionadded:: 2.0 - Returns a :class:`Page` object with the given 1-based index, while also handling out of range and invalid page numbers. |
