Skip to content

Commit

Permalink
fixup! refactor: Use derived_settings to lazy load settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
feanil committed Jan 16, 2025
1 parent 3da7044 commit a13a383
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,24 +194,24 @@ def _generate_default_enterprise_consent_api_url(settings):

# Note the order of this matters, don't sort this list.
derived(
CC_MERCHANT_NAME,
EMAIL_FILE_PATH,
LMS_INTERNAL_ROOT_URL,
SHARED_COOKIE_DOMAIN,
BULK_EMAIL_ROUTING_KEY,
BULK_EMAIL_ROUTING_KEY_SMALL_JOBS,
ENTITLEMENTS_EXPIRATION_ROUTING_KEY,
ID_VERIFICATION_SUPPORT_LINK,
PASSWORD_RESET_SUPPORT_LINK,
ACTIVATION_EMAIL_SUPPORT_LINK,
LOGIN_ISSUE_SUPPORT_LINK,
GRADES_DOWNLOAD_ROUTING_KEY,
CREDENTIALS_GENERATION_ROUTING_KEY,
PROGRAM_CERTIFICATES_ROUTING_KEY,
SOFTWARE_SECURE_VERIFICATION_ROUTING_KEY,
ENTERPRISE_PUBLIC_ENROLLMENT_API_URL,
ENTERPRISE_API_URL,
ENTERPRISE_CONSENT_API_URL,
'CC_MERCHANT_NAME',
'EMAIL_FILE_PATH',
'LMS_INTERNAL_ROOT_URL',
'SHARED_COOKIE_DOMAIN',
'BULK_EMAIL_ROUTING_KEY',
'BULK_EMAIL_ROUTING_KEY_SMALL_JOBS',
'ENTITLEMENTS_EXPIRATION_ROUTING_KEY',
'ID_VERIFICATION_SUPPORT_LINK',
'PASSWORD_RESET_SUPPORT_LINK',
'ACTIVATION_EMAIL_SUPPORT_LINK',
'LOGIN_ISSUE_SUPPORT_LINK',
'GRADES_DOWNLOAD_ROUTING_KEY',
'CREDENTIALS_GENERATION_ROUTING_KEY',
'PROGRAM_CERTIFICATES_ROUTING_KEY',
'SOFTWARE_SECURE_VERIFICATION_ROUTING_KEY',
'ENTERPRISE_PUBLIC_ENROLLMENT_API_URL',
'ENTERPRISE_API_URL',
'ENTERPRISE_CONSENT_API_URL',
)


Expand Down

0 comments on commit a13a383

Please sign in to comment.