diff options
| author | Tim Graham <timograham@gmail.com> | 2023-04-16 19:14:09 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-04-17 06:55:32 +0200 |
| commit | 2c4dc6476083c853b654e462c7ff65dbe0334c9e (patch) | |
| tree | adb5cb4206a769452af5172cb5f8633f6eca17d7 /docs/releases | |
| parent | 255f5345904854128647705adcb8d21138e87c63 (diff) | |
Used extlinks for PyPI links.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.11.txt | 3 | ||||
| -rw-r--r-- | docs/releases/1.3.txt | 6 | ||||
| -rw-r--r-- | docs/releases/1.4.txt | 5 | ||||
| -rw-r--r-- | docs/releases/1.6.txt | 10 | ||||
| -rw-r--r-- | docs/releases/1.7.txt | 18 | ||||
| -rw-r--r-- | docs/releases/1.8.txt | 8 | ||||
| -rw-r--r-- | docs/releases/1.9.txt | 4 | ||||
| -rw-r--r-- | docs/releases/2.1.txt | 4 | ||||
| -rw-r--r-- | docs/releases/2.2.txt | 6 | ||||
| -rw-r--r-- | docs/releases/3.0.txt | 2 | ||||
| -rw-r--r-- | docs/releases/3.2.txt | 8 | ||||
| -rw-r--r-- | docs/releases/4.0.3.txt | 4 | ||||
| -rw-r--r-- | docs/releases/4.0.txt | 8 | ||||
| -rw-r--r-- | docs/releases/4.2.txt | 9 |
14 files changed, 34 insertions, 61 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index 96daa15211..74db5fcf0d 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -579,8 +579,7 @@ It's automatically installed along with Django. Support for ``settings.TIME_ZONE = None`` is removed as the behavior isn't commonly used and is questionably useful. If you want to automatically detect -the timezone based on the system timezone, you can use `tzlocal -<https://pypi.org/project/tzlocal/>`_:: +the timezone based on the system timezone, you can use :pypi:`tzlocal`:: from tzlocal import get_localzone diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt index 737dda1f38..46bd886c67 100644 --- a/docs/releases/1.3.txt +++ b/docs/releases/1.3.txt @@ -112,8 +112,8 @@ for more details or learn how to :doc:`manage static files Python 2.7 introduced some major changes to the ``unittest`` library, adding some extremely useful features. To ensure that every Django project can benefit from these new features, Django ships with a copy -of unittest2_, a copy of the Python 2.7 ``unittest`` library, backported -for Python 2.4 compatibility. +of :pypi:`unittest2`, a copy of the Python 2.7 ``unittest`` library, +backported for Python 2.4 compatibility. To access this library, Django provides the ``django.utils.unittest`` module alias. If you are using Python 2.7, or you have installed @@ -132,8 +132,6 @@ wherever you would have historically used:: If you want to continue to use the base ``unittest`` library, you can -- you just won't get any of the nice new ``unittest2`` features. -.. _unittest2: https://pypi.org/project/unittest2/ - Transaction context managers ---------------------------- diff --git a/docs/releases/1.4.txt b/docs/releases/1.4.txt index 9ef4774dba..6c443fa3c5 100644 --- a/docs/releases/1.4.txt +++ b/docs/releases/1.4.txt @@ -599,9 +599,8 @@ Django 1.4 also includes several smaller improvements worth noting: for more information. * The :djadmin:`makemessages` command uses a new and more accurate lexer, - `JsLex`_, for extracting translatable strings from JavaScript files. - -.. _JsLex: https://pypi.org/project/jslex/ + :pypi:`JsLex <jslex>`, for extracting translatable strings from JavaScript + files. * The :ttag:`trans` template tag now takes an optional ``as`` argument to be able to retrieve a translation string without displaying it but setting diff --git a/docs/releases/1.6.txt b/docs/releases/1.6.txt index 3b7ba8bb84..4e4309750f 100644 --- a/docs/releases/1.6.txt +++ b/docs/releases/1.6.txt @@ -257,12 +257,10 @@ Minor features * Added ``BCryptSHA256PasswordHasher`` to resolve the password truncation issue with bcrypt. -* `Pillow`_ is now the preferred image manipulation library to use with Django. - `PIL`_ is pending deprecation (support to be removed in Django 1.8). - To upgrade, you should **first** uninstall PIL, **then** install Pillow. - -.. _`Pillow`: https://pypi.org/project/Pillow/ -.. _`PIL`: https://pypi.org/project/PIL/ +* :pypi:`Pillow` is now the preferred image manipulation library to use with + Django. :pypi:`PIL` is pending deprecation (support to be removed in Django + 1.8). To upgrade, you should **first** uninstall PIL, **then** install + Pillow. * :class:`~django.forms.ModelForm` accepts several new ``Meta`` options. diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt index 0319bb0e8e..c78bf65cae 100644 --- a/docs/releases/1.7.txt +++ b/docs/releases/1.7.txt @@ -715,13 +715,11 @@ Management Commands * The :djadmin:`runserver` command received several improvements: - * On Linux systems, if pyinotify_ is installed, the development server will - reload immediately when a file is changed. Previously, it polled the + * On Linux systems, if :pypi:`pyinotify` is installed, the development server + will reload immediately when a file is changed. Previously, it polled the filesystem for changes every second. That caused a small delay before reloads and reduced battery life on laptops. - .. _pyinotify: https://pypi.org/project/pyinotify/ - * In addition, the development server automatically reloads when a translation file is updated, i.e. after running :djadmin:`compilemessages`. @@ -735,15 +733,13 @@ Management Commands * :djadmin:`collectstatic` command with symlink option is now supported on Windows NT 6 (Windows Vista and newer). -* Initial SQL data now works better if the sqlparse_ Python library is +* Initial SQL data now works better if the :pypi:`sqlparse` Python library is installed. Note that it's deprecated in favor of the :class:`~django.db.migrations.operations.RunSQL` operation of migrations, which benefits from the improved behavior. -.. _sqlparse: https://pypi.org/project/sqlparse/ - Models ~~~~~~ @@ -1207,11 +1203,9 @@ details. ------------------------ If your project handles datetimes before 1970 or after 2037 and Django raises -a :exc:`ValueError` when encountering them, you will have to install pytz_. You -may be affected by this problem if you use Django's time zone-related date -formats or :mod:`django.contrib.syndication`. - -.. _pytz: https://pypi.org/project/pytz/ +a :exc:`ValueError` when encountering them, you will have to install +:pypi:`pytz`. You may be affected by this problem if you use Django's time +zone-related date formats or :mod:`django.contrib.syndication`. ``remove()`` and ``clear()`` methods of related managers -------------------------------------------------------- diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index b3951e40ff..bf4a81aa9d 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -64,14 +64,12 @@ upgrade instructions in older versions of the documentation. Security enhancements --------------------- -Several features of the django-secure_ third-party library have been +Several features of the :pypi:`django-secure` third-party library have been integrated into Django. :class:`django.middleware.security.SecurityMiddleware` provides several security enhancements to the request/response cycle. The new :option:`check --deploy` option allows you to check your production settings file for ways to increase the security of your site. -.. _django-secure: https://pypi.org/project/django-secure/ - New PostgreSQL specific functionality ------------------------------------- @@ -1506,9 +1504,7 @@ in your project. The ``django.utils.checksums`` module has been deprecated and will be removed in Django 1.10. The functionality it provided (validating checksum using the Luhn algorithm) was undocumented and not used in Django. The module has been -moved to the `django-localflavor`_ package (version 1.1+). - -.. _django-localflavor: https://pypi.org/project/django-localflavor/ +moved to the :pypi:`django-localflavor` package (version 1.1+). ``InlineAdminForm.original_content_type_id`` -------------------------------------------- diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 66d6845f74..f901f249c3 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -37,11 +37,9 @@ after a database transaction is successfully committed. This is useful for tasks such as sending notification emails, creating queued tasks, or invalidating caches. -This functionality from the `django-transaction-hooks`_ package has been +This functionality from the :pypi:`django-transaction-hooks` package has been integrated into Django. -.. _django-transaction-hooks: https://pypi.org/project/django-transaction-hooks/ - Password validation ------------------- diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index 11b49ea1c1..c46475947f 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -408,8 +408,8 @@ Miscellaneous suitable alternatives. Compared to the ``QUERY_TERMS`` constant, they allow your code to also account for any custom lookups that have been registered. -* Compatibility with ``py-bcrypt`` is removed as it's unmaintained. Use `bcrypt - <https://pypi.org/project/bcrypt/>`_ instead. +* Compatibility with ``py-bcrypt`` is removed as it's unmaintained. Use + :pypi:`bcrypt` instead. .. _deprecated-features-2.1: diff --git a/docs/releases/2.2.txt b/docs/releases/2.2.txt index 0b2b5e7979..e27fdbbca8 100644 --- a/docs/releases/2.2.txt +++ b/docs/releases/2.2.txt @@ -333,9 +333,9 @@ change shouldn't have an impact on your tests unless you've customized ``sqlparse`` is required dependency ----------------------------------- -To simplify a few parts of Django's database handling, `sqlparse 0.2.2+ -<https://pypi.org/project/sqlparse/>`_ is now a required dependency. It's -automatically installed along with Django. +To simplify a few parts of Django's database handling, :pypi:`sqlparse 0.2.2+ +<sqlparse>` is now a required dependency. It's automatically installed along +with Django. ``cached_property`` aliases --------------------------- diff --git a/docs/releases/3.0.txt b/docs/releases/3.0.txt index c7d5923bf6..4dfb6aae5a 100644 --- a/docs/releases/3.0.txt +++ b/docs/releases/3.0.txt @@ -497,7 +497,7 @@ Django 3.0, we're removing these APIs at this time. Python 3. * ``django.utils.six`` - Remove usage of this vendored library or switch to - `six <https://pypi.org/project/six/>`_. + :pypi:`six`. * ``django.utils.encoding.python_2_unicode_compatible()`` - Alias of ``six.python_2_unicode_compatible()``. diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index 5d77d7b462..55bfff0940 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -143,11 +143,9 @@ Functional indexes are added to models using the ---------------------- The new ``django.core.cache.backends.memcached.PyMemcacheCache`` cache backend -allows using the pymemcache_ library for memcached. ``pymemcache`` 3.4.0 or -higher is required. For more details, see the :doc:`documentation on caching in -Django </topics/cache>`. - -.. _pymemcache: https://pypi.org/project/pymemcache/ +allows using the :pypi:`pymemcache` library for memcached. ``pymemcache`` 3.4.0 +or higher is required. For more details, see the :doc:`documentation on caching +in Django </topics/cache>`. New decorators for the admin site --------------------------------- diff --git a/docs/releases/4.0.3.txt b/docs/releases/4.0.3.txt index dc1e517c08..12bd6e2530 100644 --- a/docs/releases/4.0.3.txt +++ b/docs/releases/4.0.3.txt @@ -5,9 +5,7 @@ Django 4.0.3 release notes *March 1, 2022* Django 4.0.3 fixes several bugs in 4.0.2. Also, all Python code in Django is -reformatted with `black`_. - -.. _black: https://pypi.org/project/black/ +reformatted with :pypi:`black`. Bugfixes ======== diff --git a/docs/releases/4.0.txt b/docs/releases/4.0.txt index d2aaf98f80..05f199e4fe 100644 --- a/docs/releases/4.0.txt +++ b/docs/releases/4.0.txt @@ -109,11 +109,9 @@ Redis cache backend ------------------- The new ``django.core.cache.backends.redis.RedisCache`` cache backend provides -built-in support for caching with Redis. `redis-py`_ 3.0.0 or higher is -required. For more details, see the :ref:`documentation on caching with Redis -in Django <redis>`. - -.. _`redis-py`: https://pypi.org/project/redis/ +built-in support for caching with Redis. :pypi:`redis-py <redis>` 3.0.0 or +higher is required. For more details, see the :ref:`documentation on caching +with Redis in Django <redis>`. Template based form rendering ----------------------------- diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt index 17d0dc956d..04482e3c17 100644 --- a/docs/releases/4.2.txt +++ b/docs/releases/4.2.txt @@ -35,7 +35,7 @@ Psycopg 3 support ----------------- Django now supports `psycopg`_ version 3.1.8 or higher. To update your code, -install the `psycopg library`_, you don't need to change the +install the :pypi:`psycopg library <psycopg>`, you don't need to change the :setting:`ENGINE <DATABASE-ENGINE>` as ``django.db.backends.postgresql`` supports both libraries. @@ -47,7 +47,6 @@ As a consequence, you may need to make some changes to account for `differences from psycopg2`_. .. _psycopg: https://www.psycopg.org/psycopg3/ -.. _psycopg library: https://pypi.org/project/psycopg/ .. _differences from psycopg2: https://www.psycopg.org/psycopg3/docs/basic/from_pg2.html Comments on columns and tables @@ -459,8 +458,8 @@ Miscellaneous * The minimum supported version of ``jinja2`` is increased from 2.9.2 to 2.11.0. -* The minimum supported version of `redis-py`_ is increased from 3.0.0 to - 3.4.0. +* The minimum supported version of :pypi:`redis-py <redis>` is increased from + 3.0.0 to 3.4.0. * Manually instantiated ``WSGIRequest`` objects must be provided a file-like object for ``wsgi.input``. Previously, Django was more lax than the expected @@ -468,8 +467,6 @@ Miscellaneous * Support for ``PROJ`` < 5 is removed. -.. _`redis-py`: https://pypi.org/project/redis/ - .. _deprecated-features-4.2: Features deprecated in 4.2 |
