Skip to content
Snippets Groups Projects
Verified Commit 2e160599 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

feat: get FILTER_ACTIVE_SHOWS_USING_* from the environment

parent 992fcd2a
No related branches found
No related tags found
1 merge request!29Use docker main tag
......@@ -171,8 +171,10 @@ ENTITLED_GROUPS = os.getenv("ENTITLED_GROUPS", default="Broadcast,BroadcastPlus"
# - if both are True, shows will be filtered using the field AND the annotation
# - if both are False, shows will NOT be filtered
FILTER_ACTIVE_SHOWS_USING = {
"is_active": False, # shows will be filtered using this field
"max_timeslot_start": True, # shows will be filtered using this annotation
# shows will be filtered using this field
"is_active": os.getenv("FILTER_ACTIVE_SHOWS_USING_FIELD", default=False),
# shows will be filtered using this annotation
"max_timeslot_start": os.getenv("FILTER_ACTIVE_SHOWS_USING_ANNOTATION", default=True),
}
# WSGI_APPLICATION = 'steering.wsgi.application';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment