Remove object-inline on admin account page
This commit is contained in:
parent
9cca949971
commit
68451419b4
1 changed files with 1 additions and 3 deletions
|
|
@ -243,12 +243,10 @@ class AccountAdmin(BaseUserAdmin):
|
||||||
This is the main creation screen for Users/accounts
|
This is the main creation screen for Users/accounts
|
||||||
|
|
||||||
"""
|
"""
|
||||||
from .objects import ObjectInline
|
|
||||||
|
|
||||||
list_display = ("username", "email", "is_staff", "is_superuser")
|
list_display = ("username", "email", "is_staff", "is_superuser")
|
||||||
form = AccountChangeForm
|
form = AccountChangeForm
|
||||||
add_form = AccountCreationForm
|
add_form = AccountCreationForm
|
||||||
inlines = [AccountTagInline, AccountAttributeInline, ObjectInline]
|
inlines = [AccountTagInline, AccountAttributeInline]
|
||||||
readonly_fields = ["db_date_created", "serialized_string"]
|
readonly_fields = ["db_date_created", "serialized_string"]
|
||||||
fieldsets = (
|
fieldsets = (
|
||||||
(
|
(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue