docs: def admin_url(obj):
      """
      Returns the admin URL of the object.
  
      No permissions checking is involved, so use with caution to avoid exposing
      the link to unauthorised users.
  
      Example::
  
          {{ foo_obj|admin_url }}
  
      renders as::
  
          /admin/foo/123
  
      :param obj: A Django model instance.
      :return: the admin URL of the object
      """
      if hasattr(obj, 'get_admin_url'):
          return mark_safe(obj.get_admin_url())
      return mark_safe(admin_url_fn(obj))