Refs #24099 -- Removed compatibility shim for ContentType.name field.

This commit is contained in:
Tim Graham 2015-09-03 14:57:57 -04:00
parent a3fe4addcb
commit 75374d3797
3 changed files with 0 additions and 37 deletions

View file

@ -82,11 +82,6 @@ The ``ContentType`` model
:attr:`verbose_name <django.db.models.Field.verbose_name>`
attribute of the model.
.. versionchanged:: 1.8
Before Django 1.8, the ``name`` property was a real field on the
``ContentType`` model.
Let's look at an example to see how this works. If you already have
the :mod:`~django.contrib.contenttypes` application installed, and then add
:mod:`the sites application <django.contrib.sites>` to your