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