from django.contrib import admin
from accounts.models import User, Profile, UserFollow


@admin.register(User)
class UserAdmin(admin.ModelAdmin):
    list_display = ['email', 'nickname']
    list_display_links = ['email', 'nickname']
    
admin.site.register(Profile)
admin.site.register(UserFollow)


[((5, 1, 5, 21), 'django.contrib.admin.register', 'admin.register', ({(5, 16, 5, 20): 'User'}, {}), '(User)', False, 'from django.contrib import admin\n'), ((10, 0, 10, 28), 'django.contrib.admin.site.register', 'admin.site.register', ({(10, 20, 10, 27): 'Profile'}, {}), '(Profile)', False, 'from django.contrib import admin\n'), ((11, 0, 11, 31), 'django.contrib.admin.site.register', 'admin.site.register', ({(11, 20, 11, 30): 'UserFollow'}, {}), '(UserFollow)', False, 'from django.contrib import admin\n')]