Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.1.X] Python 2.3 doesn't do decorators.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12761 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 705d6cce0f31140944f8c0b0d42a29a9f69cbf24 1 parent 0b78ce8
@kmtracey kmtracey authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 tests/regressiontests/views/templatetags/debugtags.py
View
5 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)
Please sign in to comment.
Something went wrong with that request. Please try again.