From b773bf45c3011dc95617dcbec9584c8d139c27cc Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Fri, 14 Oct 2005 18:37:16 +0000 Subject: [PATCH] Registered default_if_none filter from [859] git-svn-id: http://code.djangoproject.com/svn/django/trunk@865 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/defaultfilters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/django/core/defaultfilters.py b/django/core/defaultfilters.py index 42b46d03ea..b9e0e67745 100644 --- a/django/core/defaultfilters.py +++ b/django/core/defaultfilters.py @@ -422,6 +422,7 @@ template.register_filter('center', center, True) template.register_filter('cut', cut, True) template.register_filter('date', date, True) template.register_filter('default', default, True) +template.register_filter('default_if_none', default_if_none, True) template.register_filter('dictsort', dictsort, True) template.register_filter('dictsortreversed', dictsortreversed, True) template.register_filter('divisibleby', divisibleby, True)