1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Updated example links in urlize docs.

goo.gl links are being removed in 2025:
https://developers.googleblog.com/en/google-url-shortener-links-will-no-longer-be-available/
This commit is contained in:
Matthew Somerville 2024-07-19 07:58:16 +01:00 committed by Sarah Boyce
parent cf03aa4e94
commit fb7be022cb

View File

@ -2883,8 +2883,8 @@ If ``value`` is ``"https://www.example.org/"``, the output will be
Converts URLs and email addresses in text into clickable links. Converts URLs and email addresses in text into clickable links.
This template tag works on links prefixed with ``http://``, ``https://``, or This template tag works on links prefixed with ``http://``, ``https://``, or
``www.``. For example, ``https://goo.gl/aia1t`` will get converted but ``www.``. For example, ``https://djangocon.eu`` will get converted but
``goo.gl/aia1t`` won't. ``djangocon.eu`` won't.
It also supports domain-only links ending in one of the original top level It also supports domain-only links ending in one of the original top level
domains (``.com``, ``.edu``, ``.gov``, ``.int``, ``.mil``, ``.net``, and domains (``.com``, ``.edu``, ``.gov``, ``.int``, ``.mil``, ``.net``, and