From 68451419b4ad2fac4fc3baff6204ba48a467bc20 Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 20 May 2021 08:10:43 +0200 Subject: [PATCH] Remove object-inline on admin account page --- evennia/web/admin/accounts.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/evennia/web/admin/accounts.py b/evennia/web/admin/accounts.py index bbff6d6131..d655154178 100644 --- a/evennia/web/admin/accounts.py +++ b/evennia/web/admin/accounts.py @@ -243,12 +243,10 @@ class AccountAdmin(BaseUserAdmin): This is the main creation screen for Users/accounts """ - from .objects import ObjectInline - list_display = ("username", "email", "is_staff", "is_superuser") form = AccountChangeForm add_form = AccountCreationForm - inlines = [AccountTagInline, AccountAttributeInline, ObjectInline] + inlines = [AccountTagInline, AccountAttributeInline] readonly_fields = ["db_date_created", "serialized_string"] fieldsets = ( (