mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-11 06:21:58 +08:00
[3.2] Add missing exceptions (#588)
This commit is contained in:
@@ -16,6 +16,8 @@ class DisallowedHost(SuspiciousOperation): ...
|
||||
class DisallowedRedirect(SuspiciousOperation): ...
|
||||
class TooManyFieldsSent(SuspiciousOperation): ...
|
||||
class RequestDataTooBig(SuspiciousOperation): ...
|
||||
class RequestAborted(Exception): ...
|
||||
class BadRequest(Exception): ...
|
||||
class PermissionDenied(Exception): ...
|
||||
class ViewDoesNotExist(Exception): ...
|
||||
class MiddlewareNotUsed(Exception): ...
|
||||
@@ -41,3 +43,4 @@ class ValidationError(Exception):
|
||||
def __iter__(self) -> Iterator[Union[Tuple[str, List[str]], str]]: ...
|
||||
|
||||
class EmptyResultSet(Exception): ...
|
||||
class SynchronousOnlyOperation(Exception): ...
|
||||
|
||||
Reference in New Issue
Block a user