Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

creating environment variable in python

ALLOWED_HOSTS = config('ALLOWED_HOSTS', cast=lambda v: [s.strip() for s in v.split(',')])
Source by simpleisbetterthancomplex.com #
 
PREVIOUS NEXT
Tagged: #creating #environment #variable #python
ADD COMMENT
Topic
Name
6+4 =