django-test/env/lib/python3.8/site-packages/django/contrib/admin/exceptions.py

14 lines
333 B
Python
Raw Normal View History

2022-08-26 10:41:18 +00:00
from django.core.exceptions import SuspiciousOperation
class DisallowedModelAdminLookup(SuspiciousOperation):
"""Invalid filter was passed to admin view via URL querystring"""
pass
class DisallowedModelAdminToField(SuspiciousOperation):
"""Invalid to_field was passed to admin view via URL query string"""
pass