mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #23919 -- Removed misc references to Python 2.
This commit is contained in:
@@ -971,8 +971,7 @@ site.register(RelatedWithUUIDPKModel)
|
||||
# related ForeignKey object not registered in admin
|
||||
# related OneToOne object registered in admin
|
||||
# related OneToOne object not registered in admin
|
||||
# when deleting Book so as exercise all four troublesome (w.r.t escaping
|
||||
# and calling force_text to avoid problems on Python 2.3) paths through
|
||||
# when deleting Book so as exercise all four paths through
|
||||
# contrib.admin.utils's get_deleted_objects function.
|
||||
site.register(Book, inlines=[ChapterInline])
|
||||
site.register(Promo)
|
||||
|
||||
Reference in New Issue
Block a user