If you view the source of http://www.djangoproject.com/download/ you'll see that the printed path is relative - something like `/downloads/...`. You can probably use the current site object or similar to qualify this with a (https) domain.

I believe what this code will currently print is `pip install /downloads/....` which naturally won't work.