How can I hide Groups and Permissions on User deatils in Django Admin?

411 views
Skip to first unread message

Fellipe Henrique

unread,
Jul 1, 2016, 1:48:32 PM7/1/16
to Django Users
How can I hide Groups and Permissions on User deatils in Django Admin? Just Hide, for user can't see/change... I don't want to disable or remove.. just Hide..

Any idea?

T.·.F.·.A.·.     S+F
Fellipe Henrique P. Soares

e-mail: > echo "lkrrovknFmsgor4ius" | perl -pe \ 's/(.)/chr(ord($1)-2*3)/ge'
Twitter: @fh_bash

Tim Graham

unread,
Jul 1, 2016, 7:26:46 PM7/1/16
to Django users
Create your own ModelAdmin subclass without those fields following the process outlined here: https://docs.djangoproject.com/en/stable/topics/auth/customizing/#extending-the-existing-user-model
Reply all
Reply to author
Forward
0 new messages