text: from django.urls import reverse
  
  
  def admin_menu(context):
      request = context["request"]
      return [
          {
              "icon": "wrench",
              "text": "Account management",
              "description": "Manage users and roles.",
              "align_right": True,
              "nav_items": [
                  {
                      "text": "Users",
                      "icon": "users",
                      "url": reverse("account-admin:user-list"),
                      "permissions": ["account.add_user", "account.change_user"],
                  },
                  {
                      "text": "Roles",
                      "icon": "key",
                      "url": reverse("account-admin:group-list"),
                      "permissions": [
                          "perms.auth.add_group",
                          "perms.auth.change_group"
                      ],
                  }
              ]
          }
      ]
  