wg-backend-django/dell-env/lib/python3.11/site-packages/django/contrib/admin/exceptions.py
2023-10-30 14:40:43 +07:00

14 lines
333 B
Python

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