mirror of
https://github.com/django/django.git
synced 2025-09-27 12:39:17 +00:00
Refs #23919 -- Removed misc references to Python 2.
This commit is contained in:
parent
c22212220a
commit
d170c63351
34 changed files with 40 additions and 167 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue