Django

Code

Changeset 6305

Show
Ignore:
Timestamp:
09/15/07 13:36:31 (1 year ago)
Author:
jacob
Message:

Small change to modpython auth handler to support Apache 2.2

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/auth/handlers/modpython.py

    r4265 r6305  
    1010    # that so that the following import works 
    1111    os.environ.update(req.subprocess_env) 
     12 
     13    # apache 2.2 requires a call to req.get_basic_auth_pw() before  
     14    # req.user and friends are available. 
     15    req.get_basic_auth_pw() 
    1216 
    1317    # check for PythonOptions