Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed bug in [1443] -- slice filter was registered as 'slice_'

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fc102791d8585c28040589e10d864550338919fd 1 parent 0e9081e
@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
@@ -455,7 +455,7 @@ def pprint(value):
register.filter(removetags)
register.filter(random)
register.filter(rjust)
-register.filter(slice_)
+register.filter('slice', slice_)
register.filter(slugify)
register.filter(stringformat)
register.filter(striptags)
Please sign in to comment.
Something went wrong with that request. Please try again.