forked from 00dani/lemoncurry
12 lines
299 B
Python
12 lines
299 B
Python
from django.contrib import admin
|
|
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
|
|
from .models import User
|
|
|
|
|
|
class UserAdmin(BaseUserAdmin):
|
|
fieldsets = BaseUserAdmin.fieldsets + (
|
|
('Profile', {'fields': ('avatar', 'note')}),
|
|
)
|
|
|
|
|
|
admin.site.register(User, UserAdmin)
|