from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin

from .models import User


class UserAdmin(BaseUserAdmin):
    pass


admin.site.register(User, UserAdmin)

@@ -77,25 +77,8 @@
 dmin
- as BaseUserAdmin
 %0A%0Afr
@@ -105,52 +105,8 @@
 er%0A%0A
-%0Aclass UserAdmin(BaseUserAdmin):%0A    pass%0A%0A%0A
 admi

Remove useless class for admin registration