From 33acd36ea441cf20403a8ec8fc7befa152c239cf Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Wed, 18 Apr 2018 18:11:59 -0700 Subject: [PATCH 1/2] Update URL to PyPI (hopefully) - Partially resolve #1243. There may be other places where the URL for PyPI needs to change from https://pypi.python.org/ to https://pypi.org/ --- cms/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/views.py b/cms/views.py index 1b9c36a83..e3d938136 100644 --- a/cms/views.py +++ b/cms/views.py @@ -3,7 +3,7 @@ from urllib.parse import urljoin LEGACY_PYTHON_DOMAIN = 'http://legacy.python.org' -PYPI_URL = 'https://pypi.python.org/' +PYPI_URL = 'https://pypi.org/' def legacy_path(path): From e06095a1c05b05871df681a591186ed47a0fd4dd Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 24 Apr 2018 02:43:13 -0700 Subject: [PATCH 2/2] update URL for PyPI --- docs/source/administration.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/administration.rst b/docs/source/administration.rst index 25fdd39e6..6a7ee08bf 100644 --- a/docs/source/administration.rst +++ b/docs/source/administration.rst @@ -6,7 +6,7 @@ Administration Navigation ---------- -Navigation on the site is managed by the `Sitetree `_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs. +Navigation on the site is managed by the `Sitetree `_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs. Many URLs are defined using `Django's URL system `_ however many are also simply defined as relative paths. When editing a particular item in the Sitetree in the *Additional Settings* fieldset there is an option named *URL as pattern*. If this option is checked the URL pattern is checked against the URLs defined by the Django applications. If it is left unchecked relative and absolute URLs can be entered.