forked from uncloud/uncloud
2cda4dd57b
Best practice See https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#using-a-custom-user-model-when-starting-a-project
5 lines
144 B
Python
5 lines
144 B
Python
from django.contrib import admin
|
|
from django.contrib.auth.admin import UserAdmin
|
|
from .models import User
|
|
|
|
admin.site.register(User, UserAdmin)
|