mirror of https://github.com/django/django.git
Fixed #7948 -- Fixed a typo in the linebreaks filter documentation, pointed out
by Joel Kitching. While I was in the neighbourhood, made one other example a little more consistent. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f8713ee243
commit
4ec2b8904b
|
@ -1550,7 +1550,7 @@ For example::
|
|||
|
||||
{{ value|linebreaks }}
|
||||
|
||||
If ``value`` is ``Joel\nis a slug``, the output will be ``<p>Joe<br>is a
|
||||
If ``value`` is ``Joel\nis a slug``, the output will be ``<p>Joel<br>is a
|
||||
slug</p>``.
|
||||
|
||||
linebreaksbr
|
||||
|
@ -1592,9 +1592,9 @@ For example::
|
|||
|
||||
{{ value|make_list }}
|
||||
|
||||
If ``value`` is the string ``"Joe"``, the output would be the list
|
||||
``[u'J', u'o', u'e']``. If ``value`` is ``123``, the output will be the list
|
||||
``[1, 2, 3]``.
|
||||
If ``value`` is the string ``"Joel"``, the output would be the list
|
||||
``[u'J', u'o', u'e', u'l']``. If ``value`` is ``123``, the output will be the
|
||||
list ``[1, 2, 3]``.
|
||||
|
||||
phone2numeric
|
||||
~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue