flake8
passed.
JSHint
passed.
Review Request #12150 — Created March 14, 2022 and submitted
The Djblets siteconfig app builds on the admin
change_form.html
template, but changes to that template were made at some point which
were causing problems. Specifically, Django seems to have added the
ability to override that template on a per-app or per-model basis, but
that assumed that it was being rendered from within the admin view,
which inserted anoptsinto the render context which was the model's
_metaobject. This change adds the siteconfig's_metaobject in
appropriately so that Django's internalInclusionAdminTagdoesn't
explode.
Was able to open various settings pages in the Review Board admin UI
without it exploding.
| Summary | ID |
|---|---|
| 619c9f80e0ee70cde25c59e2eaba5299ef5fbc50 |