PageRenderTime 19ms CodeModel.GetById 17ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/views/templatetags/debugtags.py

https://code.google.com/p/mango-py/
Python | 10 lines | 6 code | 4 blank | 0 comment | 0 complexity | 6e2eeca590883615cd0317ba0a7d2416 MD5 | raw file
 1from django import template
 2 
 3from regressiontests.views import BrokenException
 4
 5register = template.Library()
 6
 7@register.simple_tag
 8def go_boom(arg):
 9    raise BrokenException(arg)
10