@@ -1649,8 +1649,8 @@ Like all :class:`CharField` subclasses, :class:`URLField` takes the optional
16491649.. class:: UUIDField(**options)
16501650
16511651A field for storing universally unique identifiers. Uses Python's
1652- :class:`~python:uuid.UUID` class. When used on PostgreSQL and MariaDB 10.7+,
1653- this stores in a ``uuid`` datatype, otherwise in a ``char(32)``.
1652+ :class:`~python:uuid.UUID` class. When used on PostgreSQL and MariaDB, this
1653+ stores in a ``uuid`` datatype, otherwise in a ``char(32)``.
16541654
16551655Universally unique identifiers are a good alternative to :class:`AutoField` for
16561656:attr:`~Field.primary_key`. The database will not generate the UUID for you, so
@@ -1667,13 +1667,13 @@ it is recommended to use :attr:`~Field.default`::
16671667Note that a callable (with the parentheses omitted) is passed to ``default``,
16681668not an instance of ``UUID``.
16691669
1670- .. admonition:: Lookups on PostgreSQL and MariaDB 10.7+
1670+ .. admonition:: Lookups on PostgreSQL and MariaDB
16711671
16721672 Using :lookup:`iexact`, :lookup:`contains`, :lookup:`icontains`,
16731673 :lookup:`startswith`, :lookup:`istartswith`, :lookup:`endswith`, or
16741674 :lookup:`iendswith` lookups on PostgreSQL don't work for values without
1675- hyphens, because PostgreSQL and MariaDB 10.7+ store them in a hyphenated
1676- uuid datatype type.
1675+ hyphens, because PostgreSQL and MariaDB store them in a hyphenated uuid
1676+ datatype type.
16771677
16781678.. _relationship-fields:
16791679
0 commit comments