From 3216dcf7fd95b238ad9ffa0f9d9e04e5b2bcd9ef Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Thu, 3 Nov 2022 13:39:21 +0100 Subject: [PATCH 1/4] a2_rbac: move context_processors from django_rbac (#70894) --- src/{django_rbac => authentic2/a2_rbac}/context_processors.py | 0 src/authentic2/settings.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/{django_rbac => authentic2/a2_rbac}/context_processors.py (100%) diff --git a/src/django_rbac/context_processors.py b/src/authentic2/a2_rbac/context_processors.py similarity index 100% rename from src/django_rbac/context_processors.py rename to src/authentic2/a2_rbac/context_processors.py diff --git a/src/authentic2/settings.py b/src/authentic2/settings.py index 416b410ac..f9ef19a65 100644 --- a/src/authentic2/settings.py +++ b/src/authentic2/settings.py @@ -73,7 +73,7 @@ TEMPLATES = [ 'OPTIONS': { 'context_processors': [ 'django.contrib.auth.context_processors.auth', - 'django_rbac.context_processors.auth', + 'authentic2.a2_rbac.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', -- 2.35.1