Permalink
Browse files

Registered default_if_none filter from [859]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 2db3d9c commit b773bf45c3011dc95617dcbec9584c8d139c27cc @jacobian jacobian committed Oct 14, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/core/defaultfilters.py
View
1 django/core/defaultfilters.py
@@ -422,6 +422,7 @@ def pprint(value, _):
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)

0 comments on commit b773bf4

Please sign in to comment.