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)


[((90, 110), 'django.contrib.admin.register', 'admin.register', (['User'], {}), '(User)\n', (104, 110), False, 'from django.contrib import admin\n'), ((239, 267), 'django.contrib.admin.site.register', 'admin.site.register', (['Profile'], {}), '(Profile)\n', (258, 267), False, 'from django.contrib import admin\n'), ((268, 299), 'django.contrib.admin.site.register', 'admin.site.register', (['UserFollow'], {}), '(UserFollow)\n', (287, 299), False, 'from django.contrib import admin\n')]