Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #931 -- Fixed unordered_list template filter

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3cf5d034dbee58ed862fa00a9b148bede61c4657 1 parent 1bd8578
@adrianholovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/template/defaultfilters.py
View
2  django/core/template/defaultfilters.py
@@ -282,7 +282,7 @@ def _helper(value, tabs):
indent = '\t' * tabs
if value[1]:
return '%s<li>%s\n%s<ul>\n%s\n%s</ul>\n%s</li>' % (indent, value[0], indent,
- '\n'.join([unordered_list(v, tabs+1) for v in value[1]]), indent, indent)
+ '\n'.join([_helper(v, tabs+1) for v in value[1]]), indent, indent)
else:
return '%s<li>%s</li>' % (indent, value[0])
return _helper(value, 1)
Please sign in to comment.
Something went wrong with that request. Please try again.