django1/django/contrib/admin/exceptions.py

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