comment change user form
This commit is contained in:
@@ -19,8 +19,8 @@ class UserAddressInLine(TabularInline):
|
||||
|
||||
@admin.register(User)
|
||||
class UserAdmin(BaseUserAdmin, ModelAdmin, ImportExportModelAdmin):
|
||||
form = UserChangeForm
|
||||
add_form = UserCreationForm
|
||||
# form = UserChangeForm
|
||||
# add_form = UserCreationForm
|
||||
change_password_form = AdminPasswordChangeForm
|
||||
filter_horizontal = []
|
||||
ordering = []
|
||||
|
||||
Reference in New Issue
Block a user