from django.contrib import admin
from .models import User


@admin.register(User)
class AdminUser(admin.ModelAdmin):
    list_display = ('username', 'first_name', 'last_name', 'email', 'profile_pic')
    list_filter = ('first_name', 'last_name')
    search_fields = ('first_name', 'last_name')


