Fixed #23370 -- defer() fails with inherited models

Related ticket: https://code.djangoproject.com/ticket/23370
the format of these should be: ```(:ticket:`23089`)```. (see 1.6.6.txt)