Change user page in django admin
This commit is contained in:
parent
3b792a0548
commit
7d007b11df
|
@ -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.
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue