Tried deploying django app from github. By default python version 3.7.10 is used. But need to upgrade the python. According to the doc PYTHON_VERSION should be specified. But how and where to specify is not in detail? Where to keep the PYTHON_VERSION for the successful deploy?
Thanks for reaching out.
PYTHON_VERSION environment variable would be added on the Environment tab of an existing service.
In a Blueprint (
render.yaml) you’d add it to the
envVars of the service, e.g.:
... envVars: - key: PYTHON_VERSION value: 3.10...
Hope that helps