File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,6 +165,21 @@ def _multiline_to_list(s):
165165 raise RuntimeError ("DATATRACKER_REGISTRATION_API_KEY must be set" )
166166STATS_REGISTRATION_ATTENDEES_JSON_URL = f"https://registration.ietf.org/{{number}}/attendees/?apikey={ _registration_api_key } "
167167
168+ # Registration Participants API config - key must be set, but the URL can be left
169+ # to the default in settings.py
170+ _registration_participants_api_key = os .environ .get (
171+ "DATATRACKER_REGISTRATION_PARTICIPANTS_API_KEY" , None
172+ )
173+ if _registration_participants_api_key is None :
174+ raise RuntimeError ("DATATRACKER_REGISTRATION_PARTICIPANTS_API_KEY must be set" )
175+ REGISTRATION_PARTICIPANTS_API_KEY = _registration_participants_api_key
176+
177+ _registration_participants_api_url = os .environ .get (
178+ "DATATRACKER_REGISTRATION_PARTICIPANTS_API_URL" , None
179+ )
180+ if _registration_participants_api_url is not None :
181+ REGISTRATION_PARTICIPANTS_API_URL = _registration_participants_api_url
182+
168183# FIRST_CUTOFF_DAYS = 12
169184# SECOND_CUTOFF_DAYS = 12
170185# SUBMISSION_CUTOFF_DAYS = 26
You can’t perform that action at this time.
0 commit comments