Update URLs to use https:// (#863)

This commit is contained in:
Jon Dufresne 2018-11-04 23:57:43 -08:00 committed by Bojan Mihelac
parent ec568b5ad9
commit 9df6d8d66d
3 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ django-import-export
:alt: Current version on PyPi :alt: Current version on PyPi
.. image:: http://readthedocs.org/projects/django-import-export/badge/?version=stable .. 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 :alt: Documentation
django-import-export is a Django application and library for importing 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 .. 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/ * GitHub: https://github.com/django-import-export/django-import-export/
* Free software: BSD license * Free software: BSD license
* PyPI: https://pypi.org/project/django-import-export/ * PyPI: https://pypi.org/project/django-import-export/

View File

@ -77,7 +77,7 @@ class Format(object):
def get_content_type(self): def get_content_type(self):
# For content types see # 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' return 'application/octet-stream'
def can_import(self): def can_import(self):
@ -156,7 +156,7 @@ class JSON(TextFormat):
class YAML(TextFormat): class YAML(TextFormat):
TABLIB_MODULE = 'tablib.formats._yaml' 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' CONTENT_TYPE = 'text/yaml'

View File

@ -207,7 +207,7 @@ class ImportExportAdminIntegrationTest(TestCase):
self.assertEqual(child.object_id, str(1)) self.assertEqual(child.object_id, str(1))
def test_logentry_creation_with_import_obj_exception(self): 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 monkeypatch_method(cls):
def decorator(func): def decorator(func):
setattr(cls, func.__name__, func) setattr(cls, func.__name__, func)