Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit b773bf45c3011dc95617dcbec9584c8d139c27cc 1 parent 2db3d9c
@jacobian jacobian authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.