mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #24099 -- Removed compatibility shim for ContentType.name field.
This commit is contained in:
parent
a3fe4addcb
commit
75374d3797
3 changed files with 0 additions and 37 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue