1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed #26977 -- Made abstract models raise TypeError when instantiating.

This commit is contained in:
Jacob Walls
2020-08-02 16:20:30 -04:00
committed by Mariusz Felisiak
parent 6c19230297
commit c7e7f176c1
4 changed files with 19 additions and 7 deletions

View File

@@ -435,6 +435,8 @@ Miscellaneous
in the :class:`~django.apps.AppConfig` subclass if you need to prevent this
behavior. See :ref:`whats-new-3.2` for more details.
* Instantiating an abstract model now raises ``TypeError``.
.. _deprecated-features-3.2:
Features deprecated in 3.2