summaryrefslogtreecommitdiff
path: root/docs/ref/unicode.txt
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:05:17 +0200
commit3212008ba602668f7923852454b508a400dd732e (patch)
treef522fd587709f65f25c53169bd02290409322704 /docs/ref/unicode.txt
parent6de7f9ec60fbdc59797bc21803f16260bd203f04 (diff)
Corrected docs to say that all templates are text strings.
Support for bytestring templates was removed in 3a148f958dddd97c1379081118c30fbede6b6bc4.
Diffstat (limited to 'docs/ref/unicode.txt')
-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