start-pack
This commit is contained in:
commit
3e1fa59b3d
5723 changed files with 757971 additions and 0 deletions
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
|
||||
|
||||
class AlreadyRegistered(Exception):
|
||||
"""The model is already registered."""
|
||||
|
||||
pass
|
||||
|
||||
|
||||
class NotRegistered(Exception):
|
||||
"""The model is not registered."""
|
||||
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue