Adds control for moderator to set user group
This commit is contained in:
parent
e1d24577d4
commit
0a37b4665c
3 changed files with 42 additions and 2 deletions
|
@ -149,6 +149,11 @@ class LimitedEditUserForm(CustomForm):
|
|||
]
|
||||
help_texts = {f: None for f in fields}
|
||||
|
||||
class UserGroupForm(CustomForm):
|
||||
class Meta:
|
||||
model = models.User
|
||||
fields = ["groups"]
|
||||
|
||||
|
||||
class TagForm(CustomForm):
|
||||
class Meta:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue