Install with Pip
1. Add CodeStasis as an extra package index
Use one of the following methods that best suits your project's dependency management.
Edit requirements.txt
Add this line to your requirements.txt
--extra-index-url https://pypi.codestasis.com/trial-t0ken/
See the Pip Requirements File Format docs for more details.
Set an environment variable
If you use environment variables to configure your dev and deploy environments
export PIP_EXTRA_INDEX_URL=https://pypi.codestasis.com/trial-t0ken/
See the Pip environment variables and install options documentation for details.
Edit your pip config file
Add an extra-index-url
to your pip.conf or pip.ini file
[install] extra-index-url = https://pypi.codestasis.com/trial-t0ken/
See the Pip config file user guide for details.
2. Upgrade Django
Update the django
entry in your requirements.txt to specify you want newer patch versions
django~=2.1.19
Install the latest patch version
pip install --upgrade -r requirements.txt
Next steps
Contact us if you have issues with installation.
And finally if your source code is publicly available make sure you don't leak your secret auth token.