1
0
mirror of https://github.com/django/django.git synced 2025-05-07 15:36:29 +00:00

[5.0.x] 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/

Backport of fb7be022cb44d8faec52f17042fa58e4c9f02daf from main.
This commit is contained in:
Matthew Somerville 2024-07-19 07:58:16 +01:00 committed by Sarah Boyce
parent 4609d53adb
commit 68f65630c6

View File

@ -2816,8 +2816,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