[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
This commit is contained in:
Jon Dufresne 2018-10-03 03:05:17 -05:00 committed by Carlton Gibson
parent 95c2ce678f
commit 490f4fa574

View File

@ -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