mirror of
https://github.com/django/django.git
synced 2025-06-16 00:49:12 +00:00
[5.2.x] Added missing import in docs/ref/contrib/admin/index.txt.
Backport of a79c411147800a60169ea943545686cd9261cdc5 from main.
This commit is contained in:
parent
9cbd7dd349
commit
954e24758c
@ -2673,6 +2673,7 @@ It is possible to use an inline with generically related objects. Let's say
|
||||
you have the following models::
|
||||
|
||||
from django.contrib.contenttypes.fields import GenericForeignKey
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.db import models
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user