Refs #29915 -- Doc'd limitation of using pattern lookups with UUIDField on PostgreSQL.
This commit is contained in:
parent
485f65b3c0
commit
343afa7880
|
@ -1304,6 +1304,13 @@ it is recommended to use :attr:`~Field.default`::
|
||||||
Note that a callable (with the parentheses omitted) is passed to ``default``,
|
Note that a callable (with the parentheses omitted) is passed to ``default``,
|
||||||
not an instance of ``UUID``.
|
not an instance of ``UUID``.
|
||||||
|
|
||||||
|
.. admonition:: Lookups on PostgreSQL
|
||||||
|
|
||||||
|
Using :lookup:`iexact`, :lookup:`contains`, :lookup:`icontains`,
|
||||||
|
:lookup:`startswith`, :lookup:`istartswith`, :lookup:`endswith`, or
|
||||||
|
:lookup:`iendswith` lookups on PostgreSQL don't work for values without
|
||||||
|
hyphens, because PostgreSQL stores them in a hyphenated uuid datatype type.
|
||||||
|
|
||||||
Relationship fields
|
Relationship fields
|
||||||
===================
|
===================
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue