Fixed #26303 -- Updated links to mod_wsgi docs.
This commit is contained in:
parent
33db899a21
commit
8c42cf0cbd
|
@ -97,8 +97,8 @@ Requests beginning with ``/secret/`` will now require a user to authenticate.
|
|||
The mod_wsgi `access control mechanisms documentation`_ provides additional
|
||||
details and information about alternative methods of authentication.
|
||||
|
||||
.. _Defining Application Groups: https://code.google.com/p/modwsgi/wiki/ConfigurationGuidelines#Defining_Application_Groups
|
||||
.. _access control mechanisms documentation: https://code.google.com/p/modwsgi/wiki/AccessControlMechanisms
|
||||
.. _Defining Application Groups: https://modwsgi.readthedocs.org/en/develop/user-guides/configuration-guidelines.html#defining-application-groups
|
||||
.. _access control mechanisms documentation: https://modwsgi.readthedocs.org/en/develop/user-guides/access-control-mechanisms.html
|
||||
|
||||
Authorization with ``mod_wsgi`` and Django groups
|
||||
-------------------------------------------------
|
||||
|
|
|
@ -140,7 +140,7 @@ to the configuration above:
|
|||
See the official mod_wsgi documentation for `details on setting up daemon
|
||||
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:
|
||||
|
||||
|
@ -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
|
||||
.. 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:
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|||
def test_check_password(self):
|
||||
"""
|
||||
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')
|
||||
|
||||
|
@ -46,8 +46,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|||
def test_check_password_custom_user(self):
|
||||
"""
|
||||
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
|
||||
"""
|
||||
|
||||
|
@ -65,7 +64,7 @@ class ModWsgiHandlerTestCase(TransactionTestCase):
|
|||
def test_groups_for_user(self):
|
||||
"""
|
||||
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')
|
||||
User.objects.create_user('test1', 'test1@example.com', 'test1')
|
||||
|
|
Loading…
Reference in New Issue