From 9df6d8d66d180b6e2f96dbcae93280b254d2318d Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 4 Nov 2018 23:57:43 -0800 Subject: [PATCH] Update URLs to use https:// (#863) --- README.rst | 4 ++-- import_export/formats/base_formats.py | 4 ++-- tests/core/tests/test_admin_integration.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index f0697dc..ec1f3da 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ django-import-export :alt: Current version on PyPi .. image:: http://readthedocs.org/projects/django-import-export/badge/?version=stable - :target: http://django-import-export.readthedocs.io/en/stable/ + :target: https://django-import-export.readthedocs.io/en/stable/ :alt: Documentation django-import-export is a Django application and library for importing @@ -36,7 +36,7 @@ Features: .. image:: docs/_static/images/django-import-export-change.png -* Documentation: http://django-import-export.readthedocs.io/en/stable/ +* Documentation: https://django-import-export.readthedocs.io/en/stable/ * GitHub: https://github.com/django-import-export/django-import-export/ * Free software: BSD license * PyPI: https://pypi.org/project/django-import-export/ diff --git a/import_export/formats/base_formats.py b/import_export/formats/base_formats.py index 7933760..57b5cb2 100644 --- a/import_export/formats/base_formats.py +++ b/import_export/formats/base_formats.py @@ -77,7 +77,7 @@ class Format(object): def get_content_type(self): # For content types see - # http://www.iana.org/assignments/media-types/media-types.xhtml + # https://www.iana.org/assignments/media-types/media-types.xhtml return 'application/octet-stream' def can_import(self): @@ -156,7 +156,7 @@ class JSON(TextFormat): class YAML(TextFormat): TABLIB_MODULE = 'tablib.formats._yaml' - # See http://stackoverflow.com/questions/332129/yaml-mime-type + # See https://stackoverflow.com/questions/332129/yaml-mime-type CONTENT_TYPE = 'text/yaml' diff --git a/tests/core/tests/test_admin_integration.py b/tests/core/tests/test_admin_integration.py index 403e1b9..a9efe95 100644 --- a/tests/core/tests/test_admin_integration.py +++ b/tests/core/tests/test_admin_integration.py @@ -207,7 +207,7 @@ class ImportExportAdminIntegrationTest(TestCase): self.assertEqual(child.object_id, str(1)) def test_logentry_creation_with_import_obj_exception(self): - # from http://mail.python.org/pipermail/python-dev/2008-January/076194.html + # from https://mail.python.org/pipermail/python-dev/2008-January/076194.html def monkeypatch_method(cls): def decorator(func): setattr(cls, func.__name__, func)