Skip to content

Commit

Permalink
temp: add lms_user_id to django admin (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
aht007 authored Jan 21, 2025
1 parent 41efd88 commit b67d678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commerce_coordinator/apps/core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CustomUserAdmin(UserAdmin):
""" Admin configuration for the custom User model. """
list_display = ('username', 'email', 'full_name', 'first_name', 'last_name', 'is_staff', 'lms_user_id')
fieldsets = (
(None, {'fields': ('username', 'password')}),
(None, {'fields': ('username', 'password', 'lms_user_id')}),
(_('Personal info'), {'fields': ('full_name', 'first_name', 'last_name', 'email')}),
(_('Permissions'), {'fields': ('is_active', 'is_staff', 'is_superuser',
'groups', 'user_permissions')}),
Expand Down

0 comments on commit b67d678

Please sign in to comment.