flake8
passed.
JSHint
passed.
Review Request #10975 — Created March 27, 2020 and submitted
This adds a custom template for the delete confirmation page used in the
admin UI for models. Django's default template doesn't render quite
well, and doesn't offer any flexibility for customization. Our version
is a bit friendlier and fits our modern style in the admin UI.This covers the main confirmation page, the "protected objects"
confirmation page (used if aForeignKey
is set to prevent deletion of
the referenced object using thePROTECT
flag), or if the user doesn't
have permission for one or more objects.
Tested the standard deletion page, the permission errors page, and the
protected relations page.Tested all the buttons on all pages.
Summary | ID |
---|---|
e192073c0e09116a5082be8a73211c522192dcb5 |