Exesize
1from django.contrib import admin2
3from authapp.models import User4
5
6@admin.register(User)7class UserAdmin(admin.ModelAdmin):8list_display = ('username', 'first_name', 'last_name', 'age', 'is_staff', 'is_active')9list_per_page = 1010list_filter = ('username', 'is_staff', 'is_active')11search_fields = ('username', 'first_name', 'last_name')12show_full_result_count = False13
14
15