text: from django.contrib import admin
  from django.contrib.auth.admin import UserAdmin as AbstractUserAdmin
  from django.utils.translation import gettext_lazy as _
  
  from .models import User
  
  
  @admin.register(User)
  class UserAdmin(AbstractUserAdmin):
      fieldsets = (
          (None, {'fields': ('username', 'password')}),
          (_('Personal info'), {'fields': ('first_name', 'last_name', 'email', 'birthday', 'random_number')}),
          (
              _('Permissions'),
              {
                  'fields': ('is_active', 'is_staff', 'is_superuser', 'groups', 'user_permissions'),
              },
          ),
          (_('Important dates'), {'fields': ('last_login', 'date_joined')}),
      )
  