[3.2] Add missing exceptions (#588)

This commit is contained in:
Hannes Ljungberg authored and GitHub committed 2021-04-13 13:18:42 +03:00
1 parent e8a97e301c
commit f003968177
1 file changed
+3
+3
View File
@@ -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): ...