Skip to content

Commit

Permalink
[DONE] add site id from settings (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitloup authored Oct 25, 2023
1 parent 1ec20d8 commit 3ff2ad7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pod/video/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3ff2ad7

Please sign in to comment.