1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 17:42:23 +00:00

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

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.
"""