Update links to django docs

It seems django have changed their URLs of the docs a little.  The
links now point back to the right parts of their docs.

Also use the rst link targets instead of the embedded URIs to avoid
repeitions of the URLs.