diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-10-04 06:10:20 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2018-10-04 09:40:43 -0400 |
| commit | d1b25a64c21bd3649122dc991badf635e00dd2ae (patch) | |
| tree | c5952088bcac3da56f14137511f7478ec4c997be /docs/ref | |
| parent | 9e5f4bcedb435e05e40720d76678b6266ae20c89 (diff) | |
[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
301de774c21d055e9e5a7073e5bffdb52bc71079.
Backport of f5d9ee11a2c76ba1cf7e3424d15286da121a004b from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/unicode.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt index 5961b3d960..0b0282b1cc 100644 --- a/docs/ref/unicode.txt +++ b/docs/ref/unicode.txt @@ -257,16 +257,6 @@ non-ASCII characters would have been removed in quoting in the first line.) .. _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 ========= |
