You cannot update the ping of your Django webapp because you will not have access to system files.
Instead, you can update the pip of your virtual user, which you can do by adding a line to the deploy.cmd file before installing the requirements.txt command.
env\scripts\python -m pip install --upgrade pip
Remember to update pip with pip (env / scripts / pip), otherwise it will remove the global pip.
source share