summaryrefslogtreecommitdiff
path: root/example_project/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'example_project/settings.py')
-rw-r--r--example_project/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/example_project/settings.py b/example_project/settings.py
index 663bb326c..a93a91e67 100644
--- a/example_project/settings.py
+++ b/example_project/settings.py
@@ -165,6 +165,7 @@ ROOT_URLCONF = "example_project.urls"
AUTHENTICATION_BACKENDS = (
"axes.backends.AxesBackend",
"ishtar_common.backend.ObjectPermBackend",
+ "guardian.backends.ObjectPermissionBackend",
)
INSTALLED_APPS = [
@@ -189,6 +190,7 @@ INSTALLED_APPS = [
"django.contrib.staticfiles",
"django.contrib.messages",
"django.contrib.humanize",
+ "guardian",
# 'debug_toolbar',
]