From fc102791d8585c28040589e10d864550338919fd Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 27 Nov 2005 01:55:55 +0000 Subject: [PATCH] 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 --- django/core/template/defaultfilters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/template/defaultfilters.py b/django/core/template/defaultfilters.py index 5d87b62e57..c9a5ff931b 100644 --- a/django/core/template/defaultfilters.py +++ b/django/core/template/defaultfilters.py @@ -455,7 +455,7 @@ register.filter(pprint) 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)