Commit fb7b48e1 by ichuang

minor - have migrate also show user when debugging

parent 3f83904c
......@@ -38,7 +38,8 @@ def manage_modulestores(request,reload_dir=None):
if LOCAL_DEBUG:
html += '<h3>IP address: %s ' % ip
log.debug('request from ip=%s' % ip)
html += '<h3>User: %s ' % request.user
log.debug('request from ip=%s, user=%s' % (ip,request.user))
if not (ip in ALLOWED_IPS or 'any' in ALLOWED_IPS):
if request.user and request.user.is_staff:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment