• 
      

    Remove obsolete AdminSite.get_model_admin.

    Review Request #14813 — Created Feb. 11, 2026 and submitted — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    Our AdminSite subclass had a get_model_admin method, which returned
    the admin class for a given model. As of Django 5.0, they have a nearly
    identical method, named the same, except instead of returning None, it
    raises an exception. Their own code calls this method and was crashing
    on the None, so we can just remove our own implementation of it.

    Ran unit tests.

    Commits

    Files