mirror of
https://github.com/django/django.git
synced 2025-08-19 02:01:29 +00:00
[1.9.x] Fixed #25997 -- Removed redundant escaping in admin's edit related model popup.
This commit is contained in:
parent
f42ab40b73
commit
a839d71d85
5 changed files with 58 additions and 22 deletions
|
@ -34,16 +34,16 @@ from .models import (
|
|||
GenRelReference, Grommet, ImplicitlyGeneratedPK, Ingredient,
|
||||
InlineReference, InlineReferer, Inquisition, Language, Link,
|
||||
MainPrepopulated, ModelWithStringPrimaryKey, NotReferenced, OldSubscriber,
|
||||
OtherStory, Paper, Parent, ParentWithDependentChildren, Person, Persona,
|
||||
Picture, Pizza, Plot, PlotDetails, PluggableSearchPerson, Podcast, Post,
|
||||
PrePopulatedPost, PrePopulatedPostLargeSlug, PrePopulatedSubPost, Promo,
|
||||
Question, Recipe, Recommendation, Recommender, ReferencedByGenRel,
|
||||
ReferencedByInline, ReferencedByParent, RelatedPrepopulated, 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,
|
||||
OtherStory, Paper, Parent, ParentWithDependentChildren, ParentWithUUIDPK,
|
||||
Person, Persona, Picture, Pizza, Plot, PlotDetails, 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,
|
||||
)
|
||||
|
||||
|
||||
|
@ -950,6 +950,8 @@ site.register(ReferencedByInline)
|
|||
site.register(InlineReferer, InlineRefererAdmin)
|
||||
site.register(ReferencedByGenRel)
|
||||
site.register(GenRelReference)
|
||||
site.register(ParentWithUUIDPK)
|
||||
site.register(RelatedWithUUIDPKModel)
|
||||
|
||||
# We intentionally register Promo and ChapterXtra1 but not Chapter nor ChapterXtra2.
|
||||
# That way we cover all four cases:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue