Skip to content

Commit 4d8d972

Browse files
stevepiercyberkerpeksag
authored andcommitted
Update PyPI URLs (#1245)
Fixes #1243
1 parent 0fc6b6d commit 4d8d972

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cms/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from urllib.parse import urljoin
44

55
LEGACY_PYTHON_DOMAIN = 'http://legacy.python.org'
6-
PYPI_URL = 'https://pypi.python.org/'
6+
PYPI_URL = 'https://pypi.org/'
77

88

99
def legacy_path(path):

docs/source/administration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Administration
66
Navigation
77
----------
88

9-
Navigation on the site is managed by the `Sitetree <https://pypi.python.org/pypi/django-sitetree>`_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs.
9+
Navigation on the site is managed by the `Sitetree <https://pypi.org/pypi/django-sitetree>`_ application. The hierarchy should be fairly obvious. The biggest gotcha is when defining the URLs.
1010

1111
Many URLs are defined using `Django's URL system <https://docs.djangoproject.com/en/dev/topics/http/urls/>`_ 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.
1212

0 commit comments

Comments
 (0)