summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-10-03 03:05:17 -0500
committerCarlton Gibson <carlton.gibson@noumenal.es>2018-10-03 10:06:32 +0200
commit490f4fa574b7d940fea1acaa2b35a87c21359c60 (patch)
treee13865e587de0a62c3df4a36bfb9191ea64a00af
parent95c2ce678f823a2d6b0eb8ddbb1c20b13093842e (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
-rw-r--r--docs/ref/unicode.txt4
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