When you create/modify a user from the django admin site you have this interface :
My project is quit simple because I have no group and every staff user could have superusers satus. That is why I want not to show the superuser status option, neither groups and user permissions. How to mask this sections of this form and assert that all staff users also superusers are.
This form is generated here : django/contrib/admin/templates/admin/change_form.html
and especially at this lines :
{% block field_sets %}
{% for fieldset in adminform %}
{% include "admin/includes/fieldset.html" %}
{% endfor %}
{% endblock %}
So I need to modify the adminform variable but in don't know how.
Any help would be very appreciated.
Thanks in advance !
