Refs #23919 -- Removed misc references to Python 2.

This commit is contained in:
Tim Graham 2017-01-21 20:02:00 -05:00 committed by GitHub
parent c22212220a
commit d170c63351
34 changed files with 40 additions and 167 deletions

View file

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