From 9454b51866bcaec85446416743b25352aace6521 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 28 Nov 2021 17:18:46 +0100 Subject: [PATCH] fix rules --- InvenTree/users/models.py | 3 +-- tasks.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/InvenTree/users/models.py b/InvenTree/users/models.py index c9ce20e567..48644e1889 100644 --- a/InvenTree/users/models.py +++ b/InvenTree/users/models.py @@ -145,7 +145,6 @@ class RuleSet(models.Model): # Core django models (not user configurable) 'admin_logentry', 'contenttypes_contenttype', - 'sessions_session', # Models which currently do not require permissions 'common_colortheme', @@ -159,7 +158,7 @@ class RuleSet(models.Model): 'error_report_error', 'exchange_rate', 'exchange_exchangebackend', - 'django_session', + 'user_sessions_session', # Django-q 'django_q_ormq', diff --git a/tasks.py b/tasks.py index f56ed44bc8..51df809149 100644 --- a/tasks.py +++ b/tasks.py @@ -290,7 +290,7 @@ def content_excludes(): "exchange.rate", "exchange.exchangebackend", "common.notificationentry", - "django_session", + "user_sessions_session", ] output = ""