Fixed #16027 -- Added app_label to ContentType.__str__().

This commit is contained in:
Gregory N. Schmit 2018-12-21 01:24:04 -06:00 committed by Tim Graham
parent 5cc6f02f91
commit 48c17807a9
7 changed files with 25 additions and 13 deletions

View file

@ -285,7 +285,8 @@ Django 3.0, we're removing these APIs at this time.
Miscellaneous
-------------
* ...
* ``ContentType.__str__()`` now includes the model's ``app_label`` to
disambiguate model's with the same name in different apps.
.. _deprecated-features-3.0: