Fix introspection in rb-site upgrade.

Review Request #14901 — Created March 14, 2026 and updated

Information

Review Board
release-7.1.x

Reviewers

At some point, django changed the name of get_key_columns in the
DatabaseIntrospection class to get_primary_key_columns. We never
because we haven't had any failures during upgrades, but this affects
Django 4.2 as well.

Verified this change inside a CI upgrade tests container.

Summary ID
Fix introspection in rb-site upgrade.
At some point, django changed the name of `get_key_columns` in the `DatabaseIntrospection` class to `get_primary_key_columns`. We never because we haven't had any failures during upgrades, but this affects Django 4.2 as well. Testing Done: Verified this change inside a CI upgrade tests container.
ppxpkrntnqllnmtymzlzpolklulzyqwl
Checks run (2 succeeded)
flake8 passed.
JSHint passed.