BUG: Missing UserAdmin registration (#39)

This commit is contained in:
Matthew Ryan Dillon 2017-12-02 21:16:00 -07:00 committed by GitHub
parent a908b06b99
commit 2ac50967bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
from django.contrib import admin from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from .models import User from .models import User
admin.site.register(User) admin.site.register(User, UserAdmin)