admin.py 263 Bytes
Newer Older
1 2 3 4 5
from django.contrib import admin
from django.contrib.auth.admin import UserAdmin as BaseUserAdmin

from .models import User

6

7 8 9 10 11 12 13 14 15 16 17 18 19
#
# Declare admin models
#

class UserAdmin(BaseUserAdmin):
    pass


#
# Register admin models
#

admin.site.register(User, UserAdmin)