"""
Admin config for UserInfo app.
"""
from django.contrib import admin
from common.utils import register_model_admins

from .models import PledgeClass, UserInfo


class UserInfoAdmin(admin.ModelAdmin):
    """
    Class to represent the user info for an Admin
    """
    search_fields = ['user__first_name', 'user__last_name']
    list_display = tuple([
        field.name
        for field in UserInfo._meta.fields
        if field.name not in UserInfo.admin_display_excluded_fields
        ])

admin.site.register(UserInfo, UserInfoAdmin)

register_model_admins(
    PledgeClass,
)

@@ -483,20 +483,16 @@
 lds%0A
-    
     %5D)%0A%0A
 admi
@@ -487,16 +487,17 @@
     %5D)%0A%0A
+%0A
 admin.si

Fix quality violation in UserInfo