summaryrefslogtreecommitdiff
path: root/tests/admin_views/admin.py
diff options
context:
space:
mode:
authorLincoln Smith <lincoln.smith@anu.edu.au>2017-04-05 13:54:46 +1000
committerTim Graham <timograham@gmail.com>2017-06-14 13:07:06 -0400
commit15b465c584f49a1d43b6c18796f83521ee4ffc22 (patch)
treea15da857498224fa76c27b149a5ba7bbbfc978dd /tests/admin_views/admin.py
parent451b585c2f76507b1be9d855a41cf2bb5aad6026 (diff)
Fixed #27998 -- Made ManyToManyField changes logged in admin's object history.
Diffstat (limited to 'tests/admin_views/admin.py')
-rw-r--r--tests/admin_views/admin.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/admin_views/admin.py b/tests/admin_views/admin.py
index cd323a10cf..6139f0460f 100644
--- a/tests/admin_views/admin.py
+++ b/tests/admin_views/admin.py
@@ -35,14 +35,14 @@ from .models import (
OtherStory, Paper, Parent, ParentWithDependentChildren, ParentWithUUIDPK,
Person, Persona, Picture, Pizza, Plot, PlotDetails, PlotProxy,
PluggableSearchPerson, Podcast, Post, PrePopulatedPost,
- PrePopulatedPostLargeSlug, PrePopulatedSubPost, Promo, Question, Recipe,
- Recommendation, Recommender, ReferencedByGenRel, ReferencedByInline,
- ReferencedByParent, RelatedPrepopulated, RelatedWithUUIDPKModel, Report,
- Reservation, Restaurant, RowLevelChangePermissionModel, Section,
- ShortMessage, Simple, Sketch, State, Story, StumpJoke, Subscriber,
- SuperVillain, Telegram, Thing, Topping, UnchangeableObject,
- UndeletableObject, UnorderedObject, UserMessenger, Villain, Vodcast,
- Whatsit, Widget, Worker, WorkHour,
+ PrePopulatedPostLargeSlug, PrePopulatedSubPost, Promo, Question,
+ ReadablePizza, Recipe, Recommendation, Recommender, ReferencedByGenRel,
+ ReferencedByInline, ReferencedByParent, RelatedPrepopulated,
+ RelatedWithUUIDPKModel, Report, Reservation, Restaurant,
+ RowLevelChangePermissionModel, Section, ShortMessage, Simple, Sketch,
+ State, Story, StumpJoke, Subscriber, SuperVillain, Telegram, Thing,
+ Topping, UnchangeableObject, UndeletableObject, UnorderedObject,
+ UserMessenger, Villain, Vodcast, Whatsit, Widget, Worker, WorkHour,
)
@@ -970,6 +970,7 @@ site.register(Book, inlines=[ChapterInline])
site.register(Promo)
site.register(ChapterXtra1, ChapterXtra1Admin)
site.register(Pizza, PizzaAdmin)
+site.register(ReadablePizza)
site.register(Topping, ToppingAdmin)
site.register(Album, AlbumAdmin)
site.register(Question)