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, 'django.contrib.admin.register', 'admin.register', False, 'from django.contrib import admin\n'), (10, 'django.contrib.admin.site.register', 'admin.site.register', False, 'from django.contrib import admin\n'), (11, 'django.contrib.admin.site.register', 'admin.site.register', False, 'from django.contrib import admin\n')]