[Answered ]-Change verbose_name for is_superuser Django

2👍

You can inherit UserChangeForm, then, override superuser verbose and help_text, like this:

forms.py

from django.contrib.auth.forms import UserChangeForm
class MyUserChangeForm(UserChangeForm):
    is_superuser = forms.BooleanField(label='My Verbose', help_text='My Help Text', initial=False, required=False)

admin.py

class CustomUserAdmin(UserAdmin):
    form = MyUserChangeForm

Leave a comment