Kaydet (Commit) 3212008b authored tarafından Jon Dufresne's avatar Jon Dufresne Kaydeden (comit) Carlton Gibson

Corrected docs to say that all templates are text strings.

Support for bytestring templates was removed in
3a148f95.
üst 6de7f9ec
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment