mirror of
https://github.com/Hopiu/django.git
synced 2026-04-18 22:11:08 +00:00
6 lines
144 B
Python
6 lines
144 B
Python
|
|
from regressiontests.debug import BrokenException, except_args
|
||
|
|
|
||
|
|
def view_exception(request, n):
|
||
|
|
raise BrokenException(except_args[int(n)])
|
||
|
|
|