From 3ff2ad727534030f396776a372aa5c9fc66bb798 Mon Sep 17 00:00:00 2001 From: Ptitloup Date: Wed, 25 Oct 2023 10:34:06 +0200 Subject: [PATCH] [DONE] add site id from settings (#992) --- pod/video/context_processors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pod/video/context_processors.py b/pod/video/context_processors.py index 9a5aeca9dd..3e37663e4c 100644 --- a/pod/video/context_processors.py +++ b/pod/video/context_processors.py @@ -21,10 +21,11 @@ OEMBED = getattr(django_settings, "OEMBED", False) USE_STATS_VIEW = getattr(django_settings, "USE_STATS_VIEW", False) CACHE_VIDEO_DEFAULT_TIMEOUT = getattr(django_settings, "CACHE_VIDEO_DEFAULT_TIMEOUT", 600) +SITE_ID = getattr(django_settings, "SITE_ID", 1) __AVAILABLE_VIDEO_FILTER__ = { "encoding_in_progress": False, "is_draft": False, - "sites": 1, + "sites": SITE_ID, } CHANNELS_PER_BATCH = getattr(django_settings, "CHANNELS_PER_BATCH", 10)