From 628fb3cd766b410c0803250e7dfc2a58c01e4355 Mon Sep 17 00:00:00 2001 From: boyska Date: Sat, 7 Mar 2020 23:57:14 +0100 Subject: [PATCH] admin: change password --- rxmap/rxmapp/admin.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rxmap/rxmapp/admin.py b/rxmap/rxmapp/admin.py index d842380..401ee3c 100644 --- a/rxmap/rxmapp/admin.py +++ b/rxmap/rxmapp/admin.py @@ -1,8 +1,11 @@ -from django.contrib import admin +from django.contrib import admin, auth from .models import TipoRadio, User, RapportoRicezione # Register your models here. admin.site.register(TipoRadio) -admin.site.register(User) + +class UserAdmin(auth.admin.UserAdmin): + pass +admin.site.register(User, UserAdmin) admin.site.register(RapportoRicezione)