Hack to handle duplicate permission entries…
ONLY A TEMPORARY FIX But migrations pass now
This commit is contained in:
parent
547d866955
commit
36827cef6b
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ def setup_kfet_generic_user(**kwargs):
|
|||
generic.user_permissions.add(
|
||||
Permission.objects.get(
|
||||
content_type__app_label='kfet',
|
||||
content_type__model='account',
|
||||
codename='is_team',
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue