mirror of https://github.com/sgoudham/Enso-Bot.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
331 B
Python
12 lines
331 B
Python
5 years ago
|
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
|