Skip to content

Commit b66ccf7

Browse files
committed
Prefer https over http when available
1 parent 84cb158 commit b66ccf7

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

debug_toolbar/panels/sql/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def sql_explain(request):
4646
if vendor == 'sqlite':
4747
# SQLite's EXPLAIN dumps the low-level opcodes generated for a query;
4848
# EXPLAIN QUERY PLAN dumps a more human-readable summary
49-
# See http://www.sqlite.org/lang_explain.html for details
49+
# See https://www.sqlite.org/lang_explain.html for details
5050
cursor.execute("EXPLAIN QUERY PLAN %s" % (sql,), params)
5151
elif vendor == 'postgresql':
5252
cursor.execute("EXPLAIN ANALYZE %s" % (sql,), params)

debug_toolbar/panels/templates/panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
# immediately when the panel is disabled to keep the overhead small.
2424

2525
# Code taken and adapted from Simon Willison and Django Snippets:
26-
# http://www.djangosnippets.org/snippets/766/
26+
# https://www.djangosnippets.org/snippets/766/
2727

2828
if Template._render != instrumented_test_render:
2929
Template.original_render = Template._render

debug_toolbar/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def getframeinfo(frame, context=1):
228228
encoding = 'ascii'
229229
for line in first_lines[:2]:
230230
# File coding may be specified. Match pattern from PEP-263
231-
# (http://www.python.org/dev/peps/pep-0263/)
231+
# (https://www.python.org/dev/peps/pep-0263/)
232232
match = re.search(br'coding[:=]\s*([-\w.]+)', line)
233233
if match:
234234
encoding = match.group(1).decode('ascii')

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,8 @@
268268

269269
# Example configuration for intersphinx: refer to the Python standard library.
270270
intersphinx_mapping = {
271-
'http://docs.python.org/': None,
272-
'http://docs.djangoproject.com/en/dev/': 'http://docs.djangoproject.com/en/dev/_objects/',
271+
'https://docs.python.org/': None,
272+
'https://docs.djangoproject.com/en/dev/': 'https://docs.djangoproject.com/en/dev/_objects/',
273273
}
274274

275275
# -- Options for Read the Docs --------------------------------------------

docs/contributing.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ Bug reports and feature requests
1313
--------------------------------
1414

1515
You can report bugs and request features in the `bug tracker
16-
<http://github.com/jazzband/django-debug-toolbar/issues>`_.
16+
<https://github.com/jazzband/django-debug-toolbar/issues>`_.
1717

1818
Please search the existing database for duplicates before filing an issue.
1919

2020
Code
2121
----
2222

2323
The code is available `on GitHub
24-
<http://github.com/jazzband/django-debug-toolbar>`_.
24+
<https://github.com/jazzband/django-debug-toolbar>`_.
2525

2626
Once you've obtained a checkout, you should create a virtualenv_ and install
2727
the libraries required for working on the Debug Toolbar::
2828

2929
$ pip install -r requirements_dev.txt
3030

31-
.. _virtualenv: http://www.virtualenv.org/
31+
.. _virtualenv: https://virtualenv.pypa.io/
3232

3333
You can run now run the example application::
3434

@@ -92,7 +92,7 @@ Patches
9292
-------
9393

9494
Please submit `pull requests
95-
<http://github.com/jazzband/django-debug-toolbar/pulls>`_!
95+
<https://github.com/jazzband/django-debug-toolbar/pulls>`_!
9696

9797
The Debug Toolbar includes a limited but growing test suite. If you fix a bug
9898
or add a feature code, please consider adding proper coverage in the test

docs/panels.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Path: ``debug_toolbar_line_profiler.panel.ProfilingPanel``
196196
This package provides a profiling panel that incorporates output from
197197
line_profiler_.
198198

199-
.. _line_profiler: http://pythonhosted.org/line_profiler/
199+
.. _line_profiler: https://github.com/rkern/line_profiler
200200

201201
Memcache
202202
~~~~~~~~

docs/tips.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you want to use the Debug Toolbar without an Internet connection at all, or
3636
if you refuse to depend on Google's services, look at the ``JQUERY_URL``
3737
configuration option.
3838

39-
.. _jQuery: http://jquery.com/
39+
.. _jQuery: https://jquery.com/
4040

4141
Performance considerations
4242
--------------------------

0 commit comments

Comments
 (0)