1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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

This commit is contained in:
Simon Charette
2017-10-06 12:47:08 -04:00
committed by Tim Graham
parent 7d8d630e37
commit 9d93dff333
15 changed files with 37 additions and 32 deletions

View File

@@ -198,7 +198,9 @@ Backwards incompatible changes in 2.1
Database backend API
--------------------
* ...
* To adhere to :pep:`249`, exceptions where a database doesn't support a
feature are changed from :exc:`NotImplementedError` to
:exc:`django.db.NotSupportedError`.
:mod:`django.contrib.gis`
-------------------------