You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
form = UserRegisterForm(request.POST)
if form.is_valid():
form.save() # store the user
username = form.cleaned_data.get('username')
messages.success(request,f' {username} account created succefully')
return redirect('login')
and then adding a group to that user through the admin page. the user permissions doesn't change, Why is that ?
i need to run sync_role for each user from the shell in order for it to sync
The text was updated successfully, but these errors were encountered:
Hope you are doing well.
when registering a new user in this part
and then adding a group to that user through the admin page. the user permissions doesn't change, Why is that ?
i need to run
sync_role
for each user from the shell in order for it to syncThe text was updated successfully, but these errors were encountered: