Change user page in django admin

This commit is contained in:
Yohann D'ANELLO 2020-05-11 18:18:47 +02:00
parent 3b792a0548
commit 7d007b11df
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
from django.contrib.auth.admin import admin, UserAdmin
from django.contrib.auth.admin import admin
from polymorphic.admin import PolymorphicParentModelAdmin, PolymorphicChildModelAdmin
from member.models import TFJMUser, Document, Solution, Synthesis, MotivationLetter, Authorization, Config
@admin.register(TFJMUser)
class TFJMUserAdmin(UserAdmin):
class TFJMUserAdmin(admin.ModelAdmin):
"""
Django admin page for users.
"""