text: from django.contrib import admin
  from django.contrib.auth.admin import UserAdmin
  
  from .forms import RegistrationForm, UsuarioChangeForm
  from .models import Usuario
  
  
  class UsuarioAdmin(UserAdmin):
      add_form = RegistrationForm
      form = UsuarioChangeForm
      model = Usuario
      list_display = ('email', 'is_staff', 'is_active',)
      list_filter = ('email', 'is_staff', 'is_active',)
      fieldsets = (
          (None, {'fields': ('email', 'password')}),
          ('Permissions', {'fields': ('is_staff', 'is_active')}),
      )
      add_fieldsets = (
          (None, {
              'classes': ('wide',),
              'fields': ('email', 'password1', 'password2', 'is_staff', 'is_active')}
          ),
      )
      search_fields = ('email',)
      ordering = ('email',)
  
  
  admin.site.register(Usuario, UsuarioAdmin)