Djnago-admin how to add extra Fields registrations in django-admin interface
In my web application, only the admin can register a user. I need to add extra fields to the registration form only in the djnago-admin interface, how can I do it, please?
You can do this by overriding fieldsets and add_feildsets in the admin.py file.
You can check here for more information:
https://docs.djangoproject.com/en/4.1/topics/auth/customizing/#a-full-example