I need to create custom template for 'new user' page in django admin (which is /admin/auth/user/add/ by default).
I only want to add some checkboxes, which represent custom permissions for user.
For example, if admin selects some of them during creation of new user, then new user will have those permissions. If none of them are selected, no permissions are assigned to new user.
How can i achieve this functionality?
Note: I do not need to change default user model.
Just change user creation form for admin and work your magic there: