7 lines
191 B
Python
7 lines
191 B
Python
|
from django.core.exceptions import SuspiciousOperation
|
||
|
|
||
|
|
||
|
class DisallowedModelAdminLookup(SuspiciousOperation):
|
||
|
"""Invalid filter was passed to admin view via URL querystring"""
|
||
|
pass
|