Opened 7 years ago

Closed 7 years ago

#28665 closed Cleanup/optimization (fixed)

Raise NotSupportedError instead of NotImplemented error when a per PEP 249

Reported by: Simon Charette Owned by: Simon Charette
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There's a few instances of NotImplementedError in django.db that should be django.db.utils.NotSupportedError to adhere to PEP 249.

Change History (3)

comment:1 by Simon Charette, 7 years ago

comment:2 by Simon Charette, 7 years ago

Has patch: set

comment:3 by Tim Graham <timograham@…>, 7 years ago

Resolution: fixed
Status: assignedclosed

In 9d93dff:

Fixed #28665 -- Change some database exceptions to NotImplementedError per PEP 249.

Note: See TracTickets for help on using tickets.
Back to Top