id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 7567 modpython.authenhandler does not work dannychen "I follow the document but django always return apache.HTTP_UNAUTHORIZED.[[BR]] At source C:\Python24\Lib\site-packages\django\contrib\auth\handlers\modpython.py, modpython does not work on my pc box(winxp, apache 2.0, mod_python 3.3.1). req.user always return null.[[BR]] mod_python said req.get_basic_auth_pw() must called before using req.user. My solution is, add {{{ req.get_basic_auth_pw() }}} at line 30 before {{{ kwargs = {'username': req.user, 'is_active': True} }}}" closed contrib.auth 0.96 fixed mod_python Unreviewed 0 0 0 0 0 0