From 595a6c7fe6722cd9acdf6b2bec5fd51ca8a3c0a0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 29 Apr 2019 20:57:54 +0200 Subject: [PATCH] remove guardian completely --- passbook/core/settings.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/passbook/core/settings.py b/passbook/core/settings.py index f51d33cbb..648ee0548 100644 --- a/passbook/core/settings.py +++ b/passbook/core/settings.py @@ -60,7 +60,6 @@ LANGUAGE_COOKIE_NAME = 'passbook_language' AUTHENTICATION_BACKENDS = [ 'django.contrib.auth.backends.ModelBackend', - 'guardian.backends.ObjectPermissionBackend', ] # Application definition @@ -75,7 +74,6 @@ INSTALLED_APPS = [ 'django.contrib.postgres', 'rest_framework', 'drf_yasg', - 'guardian', 'passbook.core.apps.PassbookCoreConfig', 'passbook.admin.apps.PassbookAdminConfig', 'passbook.api.apps.PassbookAPIConfig',