From 7d007b11dfb676eb6a075e819ee110bf8adb44e4 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Mon, 11 May 2020 18:18:47 +0200 Subject: [PATCH] Change user page in django admin --- apps/member/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/member/admin.py b/apps/member/admin.py index bbed356..4a8bd5b 100644 --- a/apps/member/admin.py +++ b/apps/member/admin.py @@ -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. """