1
0
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:
antoliny0919 2025-05-15 10:49:01 +09:00 committed by Sarah Boyce
parent e52100a250
commit a79c411147

View File

@ -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