Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python decouple default value

# Default value if key not found
EMAIL_HOST = config('EMAIL_HOST', default='localhost')
 
PREVIOUS NEXT
Tagged: #python #decouple #default
ADD COMMENT
Topic
Name
2+9 =