From 36827cef6b0293b0905aaea7a34710337f7a4a90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Thu, 26 Oct 2017 11:16:56 +0200 Subject: [PATCH] =?UTF-8?q?Hack=20to=20handle=20duplicate=20permission=20e?= =?UTF-8?q?ntries=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ONLY A TEMPORARY FIX But migrations pass now --- kfet/auth/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kfet/auth/utils.py b/kfet/auth/utils.py index 0edc555d..053e5798 100644 --- a/kfet/auth/utils.py +++ b/kfet/auth/utils.py @@ -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', ) )