1
0
mirror of https://github.com/django/django.git synced 2025-07-19 17:19:12 +00:00

[1.9.x] Fixed #26303 -- Updated links to mod_wsgi docs.

Backport of 8c42cf0cbd87f344748423f235938dd6ade03f55 from master
This commit is contained in:
Alasdair Nicol 2016-03-01 16:02:09 +00:00 committed by Tim Graham
parent e0ea4edca0
commit 6679cdd92c
3 changed files with 7 additions and 8 deletions

View File

@ -97,8 +97,8 @@ Requests beginning with ``/secret/`` will now require a user to authenticate.
The mod_wsgi `access control mechanisms documentation`_ provides additional The mod_wsgi `access control mechanisms documentation`_ provides additional
details and information about alternative methods of authentication. details and information about alternative methods of authentication.
.. _Defining Application Groups: https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#Defining_Application_Groups .. _Defining Application Groups: https://modwsgi.readthedocs.org/en/develop/user-guides/configuration-guidelines.html#defining-application-groups
.. _access control mechanisms documentation: https://code.google.com/p/modwsgi/wiki/AccessControlMechanisms .. _access control mechanisms documentation: https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html
Authorization with ``mod_wsgi`` and Django groups Authorization with ``mod_wsgi`` and Django groups
------------------------------------------------- -------------------------------------------------

View File

@ -140,7 +140,7 @@ to the configuration above:
See the official mod_wsgi documentation for `details on setting up daemon See the official mod_wsgi documentation for `details on setting up daemon
mode`_. mode`_.
.. _details on setting up daemon mode: https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#Delegation_To_Daemon_Process .. _details on setting up daemon mode: https://modwsgi.readthedocs.org/en/develop/user-guides/quick-configuration-guide.html#delegation-to-daemon-process
.. _serving-files: .. _serving-files:
@ -198,7 +198,7 @@ If you are using a version of Apache older than 2.4, replace
.. More details on configuring a mod_wsgi site to serve static files can be found .. More details on configuring a mod_wsgi site to serve static files can be found
.. in the mod_wsgi documentation on `hosting static files`_. .. in the mod_wsgi documentation on `hosting static files`_.
.. _hosting static files: https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#Hosting_Of_Static_Files .. _hosting static files: https://modwsgi.readthedocs.org/en/develop/user-guides/configuration-guidelines.html#hosting-of-static-files
.. _serving-the-admin-files: .. _serving-the-admin-files:

View File

@ -23,7 +23,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
def test_check_password(self): def test_check_password(self):
""" """
Verify that check_password returns the correct values as per Verify that check_password returns the correct values as per
http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Authentication_Provider https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
""" """
User.objects.create_user('test', 'test@example.com', 'test') User.objects.create_user('test', 'test@example.com', 'test')
@ -44,8 +44,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
def test_check_password_custom_user(self): def test_check_password_custom_user(self):
""" """
Verify that check_password returns the correct values as per Verify that check_password returns the correct values as per
http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Authentication_Provider https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-authentication-provider
with custom user installed with custom user installed
""" """
@ -63,7 +62,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
def test_groups_for_user(self): def test_groups_for_user(self):
""" """
Check that groups_for_user returns correct values as per Check that groups_for_user returns correct values as per
http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms#Apache_Group_Authorisation https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html#apache-group-authorisation
""" """
user1 = User.objects.create_user('test', 'test@example.com', 'test') user1 = User.objects.create_user('test', 'test@example.com', 'test')
User.objects.create_user('test1', 'test1@example.com', 'test1') User.objects.create_user('test1', 'test1@example.com', 'test1')