From e91e02839cd1b005b744992c98446b2ca2a40651 Mon Sep 17 00:00:00 2001 From: Userland Alchemist Date: Tue, 19 Aug 2025 16:04:44 +0100 Subject: [PATCH] =?UTF-8?q?fix(admin):=20repair=20Link=20to=20Account=20bu?= =?UTF-8?q?tton=20(pk=E2=86=92object=5Fid=20mismatch)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Admin URL used while ObjectAdmin.link_object_to_account() expected object_id, causing a TypeError when clicking the button. - Updated URL to use . Closes #3808 --- evennia/web/admin/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/web/admin/objects.py b/evennia/web/admin/objects.py index 48e5fe99e9..2896a81199 100644 --- a/evennia/web/admin/objects.py +++ b/evennia/web/admin/objects.py @@ -287,7 +287,7 @@ class ObjectAdmin(admin.ModelAdmin): urls = super().get_urls() custom_urls = [ path( - "account-object-link/", + "account-object-link/", self.admin_site.admin_view(self.link_object_to_account), name="object-account-link", )