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)