mirror of
https://github.com/django/django.git
synced 2025-07-03 17:29:12 +00:00
Added missing import in docs/ref/contrib/admin/index.txt.
This commit is contained in:
parent
e52100a250
commit
a79c411147
@ -2658,6 +2658,7 @@ It is possible to use an inline with generically related objects. Let's say
|
|||||||
you have the following models::
|
you have the following models::
|
||||||
|
|
||||||
from django.contrib.contenttypes.fields import GenericForeignKey
|
from django.contrib.contenttypes.fields import GenericForeignKey
|
||||||
|
from django.contrib.contenttypes.models import ContentType
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user