diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2015-11-29 08:29:46 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-12-01 08:03:16 -0500 |
| commit | bf76cf07e0e0713020974f47dacfaddcedbe1abf (patch) | |
| tree | 25d3659624b41be8315d418c577a7b529b4d8ae6 /docs/ref/contrib/admin | |
| parent | b4074102328180dd53ecc5a03b0afa1322024036 (diff) | |
[1.9.x] Fixed #25778 -- Updated docs links to use https when available.
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
Diffstat (limited to 'docs/ref/contrib/admin')
| -rw-r--r-- | docs/ref/contrib/admin/index.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt index 0a8e692e45..79fb333bcc 100644 --- a/docs/ref/contrib/admin/index.txt +++ b/docs/ref/contrib/admin/index.txt @@ -1260,8 +1260,8 @@ subclass:: class PersonAdmin(admin.ModelAdmin): def view_on_site(self, obj): - return 'http://example.com' + reverse('person-detail', - kwargs={'slug': obj.slug}) + return 'https://example.com' + reverse('person-detail', + kwargs={'slug': obj.slug}) Custom template options ~~~~~~~~~~~~~~~~~~~~~~~ @@ -1943,7 +1943,7 @@ files for the forms and/or formsets. If :setting:`DEBUG` is ``True`` it will return the uncompressed versions of the various JavaScript files, including ``jquery.js``; if not, it will return the 'minified' versions. -.. _jQuery: http://jquery.com +.. _jQuery: https://jquery.com .. _admin-custom-validation: |
