S
S
siarheisiarhei2020-05-03 10:39:05
Django
siarheisiarhei, 2020-05-03 10:39:05

Adding users to their appropriate group(s) django?

Add a user to a group in django, by group name, when registering - everything works ...
When activated, it is automatically assigned .... But, there are two groups: closed (masters) and open (clients) ... Form, when registering " gives everything "... How to remove the closed (master) ... Is this the admin settings or in the code ...?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-05-03
@siarheisiarhei

pass the filtered queryset of the group to the form

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question