diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-10-03 03:05:17 -0500 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2018-10-03 10:06:32 +0200 |
| commit | 490f4fa574b7d940fea1acaa2b35a87c21359c60 (patch) | |
| tree | e13865e587de0a62c3df4a36bfb9191ea64a00af /docs/ref | |
| parent | 95c2ce678f823a2d6b0eb8ddbb1c20b13093842e (diff) | |
[2.1.x] Corrected docs to say that all templates are text strings.
Support for bytestring templates was removed in
3a148f958dddd97c1379081118c30fbede6b6bc4.
Backport of 3212008ba602668f7923852454b508a400dd732e from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/unicode.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/ref/unicode.txt b/docs/ref/unicode.txt index 17c5edfad6..5961b3d960 100644 --- a/docs/ref/unicode.txt +++ b/docs/ref/unicode.txt @@ -270,11 +270,9 @@ querysets are identical:: Templates ========= -You can use either strings or UTF-8 bytestrings when creating templates -manually:: +Use strings when creating templates manually:: from django.template import Template - t1 = Template(b'This is a bytestring template.') t2 = Template('This is a string template.') But the common case is to read templates from the filesystem, and this creates |
