from django.contrib import admin

from accounts.models import User


# Register your models here.


@admin.register(User)
class UserAdmin(admin.ModelAdmin):
    list_display = ('id', 'nickname', 'email', 'is_active', 'is_admin', 'updated_at', 'created_at')
    list_display_links = ('id', 'nickname', 'email')

from django.contrib import admin

from accounts.models import User


# Register your models here.


@admin.register(User)
class UserAdmin(admin.ModelAdmin):
    list_display = ('id', 'nickname', 'email', 'is_active', 'is_admin', 'updated_at', 'created_at')
    list_display_links = ('id', 'nickname', 'email')

# Register your models here.