Ensure we're using raw ID fields in the admin UI for local_site relations.

Review Request #12895 — Created March 16, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

We had some inconsistencies in the admin UI with the field type used for
local_site relations. In most cases we were using raw ID fields, but a
few things still used the default drop-down. This change fixes up the
things that weren't right.

Audited admin forms for all models that had a local_site relation. Saw
that we used the raw ID field everywhere.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Ensure we're using raw ID fields in the admin UI for local_site relations.
We had some inconsistencies in the admin UI with the field type used for `local_site` relations. In most cases we were using raw ID fields, but a few things still used the default drop-down. This change fixes up the things that weren't right. Testing Done: Audited admin forms for all models that had a local_site relation. Saw that we used the raw ID field everywhere.
41cd60fd67b85b2ea5323d467e916b035a84f349 David Trowbridge
reviewboard/attachments/admin.py
reviewboard/integrations/admin.py
reviewboard/notifications/admin.py
reviewboard/webapi/admin.py
Loading...