Switch RBUserCreationForm to inherit from AdminUserCreationForm.

Review Request #14832 — Created Feb. 19, 2026 and updated

Information

Review Board
master

Reviewers

Django 5.1 introduced a new base class for user creation forms in the
admin site. It's necessary to change our form to inherit from this one,
otherwise we end up getting an error about a missing usable_password
field.

  • Ran unit tests.
  • Loaded the add-user form in the admin.
Summary ID
Switch RBUserCreationForm to inherit from AdminUserCreationForm.
Django 5.1 introduced a new base class for user creation forms in the admin site. It's necessary to change our form to inherit from this one, otherwise we end up getting an error about a missing `usable_password` field. Testing Done: - Ran unit tests. - Loaded the add-user form in the admin.
npmsrvlvxurpzzyyouxlonmpqnlrpmkv
Checks run (2 succeeded)
flake8 passed.
JSHint passed.