[2.1.x] Refs #27778 -- Removed "The database API" section from "Unicode data" docs.

Support for passing bytestrings to the database API was removed in
301de774c2.
Backport of f5d9ee11a2 from master
This commit is contained in:
Jon Dufresne 2018-10-04 06:10:20 -07:00 committed by Tim Graham
parent 9e5f4bcedb
commit d1b25a64c2
1 changed files with 0 additions and 10 deletions

View File

@ -257,16 +257,6 @@ non-ASCII characters would have been removed in quoting in the first line.)
.. _above: `URI and IRI handling`_ .. _above: `URI and IRI handling`_
The database API
================
You can pass either strings or UTF-8 bytestrings as arguments to
``filter()`` methods and the like in the database API. The following two
querysets are identical::
qs = People.objects.filter(name__contains='Å')
qs = People.objects.filter(name__contains=b'\xc3\x85') # UTF-8 encoding of Å
Templates Templates
========= =========