Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions k8s/settings_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,21 @@ def _multiline_to_list(s):
raise RuntimeError("DATATRACKER_REGISTRATION_API_KEY must be set")
STATS_REGISTRATION_ATTENDEES_JSON_URL = f"https://registration.ietf.org/{{number}}/attendees/?apikey={_registration_api_key}"

# Registration Participants API config - key must be set, but the URL can be left
# to the default in settings.py
_registration_participants_api_key = os.environ.get(
"DATATRACKER_REGISTRATION_PARTICIPANTS_API_KEY", None
)
if _registration_participants_api_key is None:
raise RuntimeError("DATATRACKER_REGISTRATION_PARTICIPANTS_API_KEY must be set")
REGISTRATION_PARTICIPANTS_API_KEY = _registration_participants_api_key

_registration_participants_api_url = os.environ.get(
"DATATRACKER_REGISTRATION_PARTICIPANTS_API_URL", None
)
if _registration_participants_api_url is not None:
REGISTRATION_PARTICIPANTS_API_URL = _registration_participants_api_url

# FIRST_CUTOFF_DAYS = 12
# SECOND_CUTOFF_DAYS = 12
# SUBMISSION_CUTOFF_DAYS = 26
Expand Down