mirror of
https://github.com/evennia/evennia.git
synced 2025-10-29 11:26:10 +00:00
Merge pull request #3809 from UserlandAlchemist/fix/admin-link-object-id
fix(admin): repair Link to Account button (pk→object_id mismatch)
This commit is contained in:
commit
3518a83278
@ -287,7 +287,7 @@ class ObjectAdmin(admin.ModelAdmin):
|
||||
urls = super().get_urls()
|
||||
custom_urls = [
|
||||
path(
|
||||
"account-object-link/<int:pk>",
|
||||
"account-object-link/<int:object_id>",
|
||||
self.admin_site.admin_view(self.link_object_to_account),
|
||||
name="object-account-link",
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user