Fixed #25778 -- Updated docs links to use https when available.

This commit is contained in:
Jon Dufresne 2015-11-29 08:29:46 -08:00 committed by Tim Graham
parent 51a3721372
commit 7aabd62380
66 changed files with 156 additions and 156 deletions

View file

@ -252,8 +252,8 @@ To do this, you can use the sites framework. A simple example::
'/mymodel/objects/3/'
>>> Site.objects.get_current().domain
'example.com'
>>> 'http://%s%s' % (Site.objects.get_current().domain, obj.get_absolute_url())
'http://example.com/mymodel/objects/3/'
>>> 'https://%s%s' % (Site.objects.get_current().domain, obj.get_absolute_url())
'https://example.com/mymodel/objects/3/'
.. _enabling-the-sites-framework: