docs: def admin_view_url(admin_site: AdminSite,
                     obj,
                     view_type: str = "change",
                     current_app: str = None) -> str:
      """
      Get a Django admin site URL for an object.
      """
      app_name = obj._meta.app_label.lower()
      model_name = obj._meta.object_name.lower()
      pk = obj.pk
      viewname = "admin:{}_{}_{}".format(app_name, model_name, view_type)
      if current_app is None:
          current_app = admin_site.name
      url = reverse(viewname, args=[pk], current_app=current_app)
      return url