Skip to content

Commit a363f5e

Browse files
committed
update admin.py
1 parent 661d925 commit a363f5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/myapp/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class CustomUserAdmin(UserAdmin):
1717
(None, {'fields': ('email', 'password')}),
1818
('Personal info', {'fields': ('first_name', 'last_name')}),
1919
('Permissions', {'fields': ('is_active', 'is_staff', 'is_superuser')}),
20-
('Important dates', {'fields': ('last_login', 'date_joined')}),
20+
('Important dates', {'fields': ('date_joined')}),
2121
)
2222

2323
# Fields to be used when creating a user.

0 commit comments

Comments
 (0)