Skip to content

Commit

Permalink
[3.2] Add missing exceptions (typeddjango#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannseman committed Apr 13, 2021
1 parent e8a97e3 commit f003968
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions django-stubs/core/exceptions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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): ...
Expand All @@ -41,3 +43,4 @@ class ValidationError(Exception):
def __iter__(self) -> Iterator[Union[Tuple[str, List[str]], str]]: ...

class EmptyResultSet(Exception): ...
class SynchronousOnlyOperation(Exception): ...

0 comments on commit f003968

Please sign in to comment.