diff --git a/tests/regressiontests/views/templatetags/debugtags.py b/tests/regressiontests/views/templatetags/debugtags.py index 9b2c6611d8..f0beeb6b71 100644 --- a/tests/regressiontests/views/templatetags/debugtags.py +++ b/tests/regressiontests/views/templatetags/debugtags.py @@ -1,10 +1,9 @@ from django import template - + from regressiontests.views import BrokenException register = template.Library() -@register.simple_tag def go_boom(arg): raise BrokenException(arg) - +register.simple_tag(go_boom)