Group And Permissions Assignment Missing When Using Custom User Model
I am building an app with multiple roles defined through Django Groups. I started with a custom user model, defined as below. I am seeing a weird difference in the groups and permi
Solution 1:
I managed to fix the issue in the Admin panel. It seems that it's a visual rendering problem caused by a wrong Admin class.
The error was caused by the following:
filter_horizontal = ()
list_filter = ()
fieldsets = ()
I have actually added the proper parameters in the class above but forgot to comment out/remove these lines. Works properly after commenting them out.
Solution 2:
Try removing
filter_horizontal = (),
It worked for me.
Post a Comment for "Group And Permissions Assignment Missing When Using Custom User Model"