Created
October 28, 2015 15:02
-
-
Save amirgon/4cee430a181104568643 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- saved from url=(0083)http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#id_QA_SITE_SETTINGS__APP_URL__en --> | |
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="robots" content="NONE,NOARCHIVE"> <title>AttributeError at /settings/QA_SITE_SETTINGS/</title> <style type="text/css"> | |
html * { padding:0; margin:0; } | |
body * { padding:10px 20px; } | |
body * * { padding:0; } | |
body { font:small sans-serif; } | |
body>div { border-bottom:1px solid #ddd; } | |
h1 { font-weight:normal; } | |
h2 { margin-bottom:.8em; } | |
h2 span { font-size:80%; color:#666; font-weight:normal; } | |
h3 { margin:1em 0 .5em 0; } | |
h4 { margin:0 0 .5em 0; font-weight: normal; } | |
code, pre { font-size: 100%; white-space: pre-wrap; } | |
table { border:1px solid #ccc; border-collapse: collapse; width:100%; background:white; } | |
tbody td, tbody th { vertical-align:top; padding:2px 3px; } | |
thead th { padding:1px 6px 1px 3px; background:#fefefe; text-align:left; font-weight:normal; font-size:11px; border:1px solid #ddd; } | |
tbody th { width:12em; text-align:right; color:#666; padding-right:.5em; } | |
table.vars { margin:5px 0 2px 40px; } | |
table.vars td, table.req td { font-family:monospace; } | |
table td.code { width:100%; } | |
table td.code pre { overflow:hidden; } | |
table.source th { color:#666; } | |
table.source td { font-family:monospace; white-space:pre; border-bottom:1px solid #eee; } | |
ul.traceback { list-style-type:none; color: #222; } | |
ul.traceback li.frame { padding-bottom:1em; color:#666; } | |
ul.traceback li.user { background-color:#e0e0e0; color:#000 } | |
div.context { padding:10px 0; overflow:hidden; } | |
div.context ol { padding-left:30px; margin:0 10px; list-style-position: inside; } | |
div.context ol li { font-family:monospace; white-space:pre; color:#777; cursor:pointer; } | |
div.context ol li pre { display:inline; } | |
div.context ol.context-line li { color:#505050; background-color:#dfdfdf; } | |
div.context ol.context-line li span { position:absolute; right:32px; } | |
.user div.context ol.context-line li { background-color:#bbb; color:#000; } | |
.user div.context ol li { color:#666; } | |
div.commands { margin-left: 40px; } | |
div.commands a { color:#555; text-decoration:none; } | |
.user div.commands a { color: black; } | |
#summary { background: #ffc; } | |
#summary h2 { font-weight: normal; color: #666; } | |
#explanation { background:#eee; } | |
#template, #template-not-exist { background:#f6f6f6; } | |
#template-not-exist ul { margin: 0 0 0 20px; } | |
#unicode-hint { background:#eee; } | |
#traceback { background:#eee; } | |
#requestinfo { background:#f6f6f6; padding-left:120px; } | |
#summary table { border:none; background:transparent; } | |
#requestinfo h2, #requestinfo h3 { position:relative; margin-left:-100px; } | |
#requestinfo h3 { margin-bottom:-1em; } | |
.error { background: #ffc; } | |
.specific { color:#cc3300; font-weight:bold; } | |
h2 span.commands { font-size:.7em;} | |
span.commands a:link {color:#5E5694;} | |
pre.exception_value { font-family: sans-serif; color: #666; font-size: 1.5em; margin: 10px 0 10px 0; } | |
</style> <script type="text/javascript"> | |
//<!-- | |
function getElementsByClassName(oElm, strTagName, strClassName){ | |
// Written by Jonathan Snook, http://www.snook.ca/jon; Add-ons by Robert Nyman, http://www.robertnyman.com | |
var arrElements = (strTagName == "*" && document.all)? document.all : | |
oElm.getElementsByTagName(strTagName); | |
var arrReturnElements = new Array(); | |
strClassName = strClassName.replace(/\-/g, "\-"); | |
var oRegExp = new RegExp("(^|\s)" + strClassName + "(\s|$)"); | |
var oElement; | |
for(var i=0; i<arrElements.length; i++){ | |
oElement = arrElements[i]; | |
if(oRegExp.test(oElement.className)){ | |
arrReturnElements.push(oElement); | |
} | |
} | |
return (arrReturnElements) | |
} | |
function hideAll(elems) { | |
for (var e = 0; e < elems.length; e++) { | |
elems[e].style.display = 'none'; | |
} | |
} | |
window.onload = function() { | |
hideAll(getElementsByClassName(document, 'table', 'vars')); | |
hideAll(getElementsByClassName(document, 'ol', 'pre-context')); | |
hideAll(getElementsByClassName(document, 'ol', 'post-context')); | |
hideAll(getElementsByClassName(document, 'div', 'pastebin')); | |
} | |
function toggle() { | |
for (var i = 0; i < arguments.length; i++) { | |
var e = document.getElementById(arguments[i]); | |
if (e) { | |
e.style.display = e.style.display == 'none' ? 'block': 'none'; | |
} | |
} | |
return false; | |
} | |
function varToggle(link, id) { | |
toggle('v' + id); | |
var s = link.getElementsByTagName('span')[0]; | |
var uarr = String.fromCharCode(0x25b6); | |
var darr = String.fromCharCode(0x25bc); | |
s.innerHTML = s.innerHTML == uarr ? darr : uarr; | |
return false; | |
} | |
function switchPastebinFriendly(link) { | |
s1 = "Switch to copy-and-paste view"; | |
s2 = "Switch back to interactive view"; | |
link.innerHTML = link.innerHTML == s1 ? s2: s1; | |
toggle('browserTraceback', 'pastebinTraceback'); | |
return false; | |
} | |
//--> </script> </head> <body> <div id="summary"> <h1>AttributeError at /settings/QA_SITE_SETTINGS/</h1> <pre class="exception_value">'SortedDict' object has no attribute 'insert'</pre> <table class="meta"> <tbody><tr> <th>Request Method:</th> <td>GET</td> </tr> <tr> <th>Request URL:</th> <td>http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/</td> </tr> <tr> <th>Django Version:</th> <td>1.7.10</td> </tr> <tr> <th>Exception Type:</th> <td>AttributeError</td> </tr> <tr> <th>Exception Value:</th> <td><pre>'SortedDict' object has no attribute 'insert'</pre></td> </tr> <tr> <th>Exception Location:</th> <td>/usr/lib/python2.7/site-packages/askbot/deps/livesettings/values.py in make_fields, line 296</td> </tr> <tr> <th>Python Executable:</th> <td>/usr/bin/python</td> </tr> <tr> <th>Python Version:</th> <td>2.7.3</td> </tr> <tr> <th>Python Path:</th> <td><pre>['/home/amirg/TestOverflow', | |
'/usr/lib64/python27.zip', | |
'/usr/lib64/python2.7', | |
'/usr/lib64/python2.7/plat-linux2', | |
'/usr/lib64/python2.7/lib-tk', | |
'/usr/lib64/python2.7/lib-old', | |
'/usr/lib64/python2.7/lib-dynload', | |
'/usr/lib64/python2.7/site-packages', | |
'/usr/lib64/python2.7/site-packages/gst-0.10', | |
'/usr/lib64/python2.7/site-packages/gtk-2.0', | |
'/usr/lib/python2.7/site-packages', | |
'/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info', | |
'/home/amirg', | |
'/usr/lib/python2.7/site-packages/askbot/deps']</pre></td> </tr> <tr> <th>Server time:</th> <td>Wed, 28 Oct 2015 09:51:27 -0500</td> </tr> </tbody></table> </div> <div id="traceback"> <h2>Traceback <span class="commands"><a href="http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#" onclick="return switchPastebinFriendly(this);">Switch to copy-and-paste view</a></span></h2> <div id="browserTraceback"> <ul class="traceback"> <li class="frame django"> <code>/usr/lib64/python2.7/site-packages/django/core/handlers/base.py</code> in <code>get_response</code> <div class="context" id="c139775693019616"> <ol start="104" class="pre-context" id="pre139775693019616" style="display: none;"><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> response = middleware_method(request, callback, callback_args, callback_kwargs)</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> if response:</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> break</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre></pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> if response is None:</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> wrapped_callback = self.make_view_atomic(callback)</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> try:</pre></li></ol> <ol start="111" class="context-line"><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> response = wrapped_callback(request, *callback_args, **callback_kwargs)</pre> <span>...</span></li></ol> <ol start="112" class="post-context" id="post139775693019616" style="display: none;"><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> except Exception as e:</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> # If the view raised an exception, run it through exception</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> # middleware, and if the exception middleware returns a</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> # response, use that. Otherwise, reraise the exception.</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> for middleware_method in self._exception_middleware:</pre></li><li onclick="toggle('pre139775693019616', 'post139775693019616')"><pre> response = middleware_method(request, e)</pre></li></ol> </div> <div class="commands"> <a href="http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#" onclick="return varToggle(this, '139775693019616')"><span>â–¶</span> Local vars</a> </div> <table class="vars" id="v139775693019616" style="display: none;"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>e</td> <td class="code"><pre>AttributeError("'SortedDict' object has no attribute 'insert'",)</pre></td> </tr> <tr> <td>callback_args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>resolver_match</td> <td class="code"><pre>ResolverMatch(func=<function group_settings at 0x7f201861dc08>, args=(), kwargs={'group': u'QA_SITE_SETTINGS'}, url_name='group_settings', app_name='None', namespace='')</pre></td> </tr> <tr> <td>middleware_method</td> <td class="code"><pre><bound method TransactionMiddleware.process_exception of <django.middleware.transaction.TransactionMiddleware object at 0x44774d0>></pre></td> </tr> <tr> <td>self</td> <td class="code"><pre><django.core.handlers.wsgi.WSGIHandler object at 0x2f56fd0></pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>"<WSGIRequest\npath:/settings/QA_SITE_SETTINGS/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'_csrf': 'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'askbot_visitor': 'False',\n 'sessionid': '6acyf1v982ke874cw72k6h0otkl4dqda'},\nMETA:{'CELERY_LOADER': 'djcelery.loaders.DjangoLoader',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n u'CSRF_COOKIE': u'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'DJANGO_SETTINGS_MODULE': 'settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HISTCONTROL': 'ignoredups',\n 'HISTSIZE': '1000',\n 'HOME': '/home/amirg',\n 'HOSTNAME': 'lb-tlvb-tools2',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he;q=0.6',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'askbot_visitor=False; sessionid=6acyf1v982ke874cw72k6h0otkl4dqda; _csrf=yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'HTTP_HOST': '10.185.6.78:8000',\n 'HTTP_REFERER': 'http://10.185.6.78:8000/questions/',\n 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36',\n 'LANG': 'en_US.UTF-8',\n 'LESSOPEN': '||/usr/bin/lesspipe.sh %s',\n 'LOGNAME': 'amirg',\n 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:',\n 'MAIL': '/var/spool/mail/root',\n 'OLDPWD': '/home/amirg',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin',\n 'PATH_INFO': u'/settings/QA_SITE_SETTINGS/',\n 'PWD': '/home/amirg/TestOverflow',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.185.4.76',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SELINUX_LEVEL_REQUESTED': '',\n 'SELINUX_ROLE_REQUESTED': '',\n 'SELINUX_USE_CURRENT_RANGE': '',\n 'SERVER_NAME': '10.185.6.78',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/bash',\n 'SHLVL': '2',\n 'SSH_CLIENT': '10.185.4.76 51779 22',\n 'SSH_CONNECTION': '10.185.4.76 51779 10.185.6.78 22',\n 'SSH_TTY': '/dev/pts/1',\n 'TERM': 'xterm',\n 'TZ': 'America/Chicago',\n 'USER': 'amirg',\n 'XDG_RUNTIME_DIR': '/run/user/0',\n 'XDG_SESSION_ID': '25',\n '_': '/usr/bin/python',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f2030f24270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x3360c80>,\n 'wsgi.input': <socket._fileobject object at 0x7f200052ea50>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td> </tr> <tr> <td>callback</td> <td class="code"><pre><function group_settings at 0x7f201861dc08></pre></td> </tr> <tr> <td>wrapped_callback</td> <td class="code"><pre><function group_settings at 0x7f201861dc08></pre></td> </tr> <tr> <td>resolver</td> <td class="code"><pre><RegexURLResolver 'TestOverflow.urls' (None:None) ^/></pre></td> </tr> <tr> <td>callback_kwargs</td> <td class="code"><pre>{'group': u'QA_SITE_SETTINGS'}</pre></td> </tr> <tr> <td>response</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>urlconf</td> <td class="code"><pre>'TestOverflow.urls'</pre></td> </tr> </tbody> </table> </li> <li class="frame django"> <code>/usr/lib64/python2.7/site-packages/django/views/decorators/cache.py</code> in <code>_wrapped_view_func</code> <div class="context" id="c139775693020696"> <ol start="45" class="pre-context" id="pre139775693020696" style="display: none;"><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre>def never_cache(view_func):</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> """</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> Decorator that adds headers to a response so that it will</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> never be cached.</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> """</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> @wraps(view_func, assigned=available_attrs(view_func))</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> def _wrapped_view_func(request, *args, **kwargs):</pre></li></ol> <ol start="52" class="context-line"><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> response = view_func(request, *args, **kwargs)</pre> <span>...</span></li></ol> <ol start="53" class="post-context" id="post139775693020696" style="display: none;"><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> add_never_cache_headers(response)</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> return response</pre></li><li onclick="toggle('pre139775693020696', 'post139775693020696')"><pre> return _wrapped_view_func</pre></li></ol> </div> <div class="commands"> <a href="http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#" onclick="return varToggle(this, '139775693020696')"><span>â–¶</span> Local vars</a> </div> <table class="vars" id="v139775693020696" style="display: none;"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>"<WSGIRequest\npath:/settings/QA_SITE_SETTINGS/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'_csrf': 'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'askbot_visitor': 'False',\n 'sessionid': '6acyf1v982ke874cw72k6h0otkl4dqda'},\nMETA:{'CELERY_LOADER': 'djcelery.loaders.DjangoLoader',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n u'CSRF_COOKIE': u'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'DJANGO_SETTINGS_MODULE': 'settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HISTCONTROL': 'ignoredups',\n 'HISTSIZE': '1000',\n 'HOME': '/home/amirg',\n 'HOSTNAME': 'lb-tlvb-tools2',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he;q=0.6',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'askbot_visitor=False; sessionid=6acyf1v982ke874cw72k6h0otkl4dqda; _csrf=yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'HTTP_HOST': '10.185.6.78:8000',\n 'HTTP_REFERER': 'http://10.185.6.78:8000/questions/',\n 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36',\n 'LANG': 'en_US.UTF-8',\n 'LESSOPEN': '||/usr/bin/lesspipe.sh %s',\n 'LOGNAME': 'amirg',\n 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:',\n 'MAIL': '/var/spool/mail/root',\n 'OLDPWD': '/home/amirg',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin',\n 'PATH_INFO': u'/settings/QA_SITE_SETTINGS/',\n 'PWD': '/home/amirg/TestOverflow',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.185.4.76',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SELINUX_LEVEL_REQUESTED': '',\n 'SELINUX_ROLE_REQUESTED': '',\n 'SELINUX_USE_CURRENT_RANGE': '',\n 'SERVER_NAME': '10.185.6.78',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/bash',\n 'SHLVL': '2',\n 'SSH_CLIENT': '10.185.4.76 51779 22',\n 'SSH_CONNECTION': '10.185.4.76 51779 10.185.6.78 22',\n 'SSH_TTY': '/dev/pts/1',\n 'TERM': 'xterm',\n 'TZ': 'America/Chicago',\n 'USER': 'amirg',\n 'XDG_RUNTIME_DIR': '/run/user/0',\n 'XDG_SESSION_ID': '25',\n '_': '/usr/bin/python',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f2030f24270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x3360c80>,\n 'wsgi.input': <socket._fileobject object at 0x7f200052ea50>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre><function group_settings at 0x7f201861db90></pre></td> </tr> <tr> <td>kwargs</td> <td class="code"><pre>{'group': u'QA_SITE_SETTINGS'}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/usr/lib/python2.7/site-packages/askbot/utils/decorators.py</code> in <code>decorator</code> <div class="context" id="c139775693019400"> <ol start="251" class="pre-context" id="pre139775693019400" style="display: none;"><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> def decorator(request, *args, **kwargs):</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> if request.user.is_anonymous():</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> raise django_exceptions.PermissionDenied()</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> if not request.user.is_administrator():</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> raise django_exceptions.PermissionDenied(</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> _('This function is limited to administrators')</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> )</pre></li></ol> <ol start="258" class="context-line"><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> return view_func(request, *args, **kwargs)</pre> <span>...</span></li></ol> <ol start="259" class="post-context" id="post139775693019400" style="display: none;"><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> return decorator</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre></pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre></pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre>def reject_forbidden_phrases(func):</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> """apply to functions that make posts</pre></li><li onclick="toggle('pre139775693019400', 'post139775693019400')"><pre> assuming kwargs (all optional):</pre></li></ol> </div> <div class="commands"> <a href="http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#" onclick="return varToggle(this, '139775693019400')"><span>â–¶</span> Local vars</a> </div> <table class="vars" id="v139775693019400" style="display: none;"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>"<WSGIRequest\npath:/settings/QA_SITE_SETTINGS/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'_csrf': 'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'askbot_visitor': 'False',\n 'sessionid': '6acyf1v982ke874cw72k6h0otkl4dqda'},\nMETA:{'CELERY_LOADER': 'djcelery.loaders.DjangoLoader',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n u'CSRF_COOKIE': u'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'DJANGO_SETTINGS_MODULE': 'settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HISTCONTROL': 'ignoredups',\n 'HISTSIZE': '1000',\n 'HOME': '/home/amirg',\n 'HOSTNAME': 'lb-tlvb-tools2',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he;q=0.6',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'askbot_visitor=False; sessionid=6acyf1v982ke874cw72k6h0otkl4dqda; _csrf=yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'HTTP_HOST': '10.185.6.78:8000',\n 'HTTP_REFERER': 'http://10.185.6.78:8000/questions/',\n 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36',\n 'LANG': 'en_US.UTF-8',\n 'LESSOPEN': '||/usr/bin/lesspipe.sh %s',\n 'LOGNAME': 'amirg',\n 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:',\n 'MAIL': '/var/spool/mail/root',\n 'OLDPWD': '/home/amirg',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin',\n 'PATH_INFO': u'/settings/QA_SITE_SETTINGS/',\n 'PWD': '/home/amirg/TestOverflow',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.185.4.76',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SELINUX_LEVEL_REQUESTED': '',\n 'SELINUX_ROLE_REQUESTED': '',\n 'SELINUX_USE_CURRENT_RANGE': '',\n 'SERVER_NAME': '10.185.6.78',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/bash',\n 'SHLVL': '2',\n 'SSH_CLIENT': '10.185.4.76 51779 22',\n 'SSH_CONNECTION': '10.185.4.76 51779 10.185.6.78 22',\n 'SSH_TTY': '/dev/pts/1',\n 'TERM': 'xterm',\n 'TZ': 'America/Chicago',\n 'USER': 'amirg',\n 'XDG_RUNTIME_DIR': '/run/user/0',\n 'XDG_SESSION_ID': '25',\n '_': '/usr/bin/python',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f2030f24270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x3360c80>,\n 'wsgi.input': <socket._fileobject object at 0x7f200052ea50>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td> </tr> <tr> <td>view_func</td> <td class="code"><pre><function group_settings at 0x7f201861da28></pre></td> </tr> <tr> <td>kwargs</td> <td class="code"><pre>{'group': u'QA_SITE_SETTINGS'}</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/usr/lib/python2.7/site-packages/askbot/deps/livesettings/views.py</code> in <code>group_settings</code> <div class="context" id="c139775693019904"> <ol start="50" class="pre-context" id="pre139775693019904" style="display: none;"><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> except Exception, e:</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> request.user.message_set.create(message=e.message)</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre></pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> return HttpResponseRedirect(request.path)</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> else:</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> # Leave the form populated with current setting values</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> #form = editor()</pre></li></ol> <ol start="57" class="context-line"><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> form = forms.SettingsEditor(settings=settings)</pre> <span>...</span></li></ol> <ol start="58" class="post-context" id="post139775693019904" style="display: none;"><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> else:</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> form = None</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre></pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> return render_to_response(template, {</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> 'all_super_groups': mgr.get_super_groups(),</pre></li><li onclick="toggle('pre139775693019904', 'post139775693019904')"><pre> 'title': title,</pre></li></ol> </div> <div class="commands"> <a href="http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#" onclick="return varToggle(this, '139775693019904')"><span>â–¶</span> Local vars</a> </div> <table class="vars" id="v139775693019904" style="display: none;"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>group</td> <td class="code"><pre>u'QA_SITE_SETTINGS'</pre></td> </tr> <tr> <td>title</td> <td class="code"><pre><django.utils.functional.__proxy__ object at 0x39d3750></pre></td> </tr> <tr> <td>overrides</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>settings</td> <td class="code"><pre>{'APP_TITLE': <askbot.deps.livesettings.values.StringValue object at 0x39d3910>, 'APP_KEYWORDS': <askbot.deps.livesettings.values.StringValue object at 0x39d3990>, 'APP_COPYRIGHT': <askbot.deps.livesettings.values.StringValue object at 0x39d3a10>, 'APP_DESCRIPTION': <askbot.deps.livesettings.values.StringValue object at 0x39d3ad0>, 'APP_SHORT_NAME': <askbot.deps.livesettings.values.StringValue object at 0x39d3b90>, 'APP_URL': <askbot.deps.livesettings.values.StringValue object at 0x39d3c50>, 'ENABLE_GREETING_FOR_ANON_USER': <askbot.deps.livesettings.values.BooleanValue object at 0x39d3d10>, 'GREETING_FOR_ANONYMOUS_USER': <askbot.deps.livesettings.values.StringValue object at 0x39d3ed0>}</pre></td> </tr> <tr> <td>request</td> <td class="code"><pre>"<WSGIRequest\npath:/settings/QA_SITE_SETTINGS/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{'_csrf': 'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'askbot_visitor': 'False',\n 'sessionid': '6acyf1v982ke874cw72k6h0otkl4dqda'},\nMETA:{'CELERY_LOADER': 'djcelery.loaders.DjangoLoader',\n 'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n u'CSRF_COOKIE': u'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'DJANGO_SETTINGS_MODULE': 'settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HISTCONTROL': 'ignoredups',\n 'HISTSIZE': '1000',\n 'HOME': '/home/amirg',\n 'HOSTNAME': 'lb-tlvb-tools2',\n 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,he;q=0.6',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_COOKIE': 'askbot_visitor=False; sessionid=6acyf1v982ke874cw72k6h0otkl4dqda; _csrf=yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi',\n 'HTTP_HOST': '10.185.6.78:8000',\n 'HTTP_REFERER': 'http://10.185.6.78:8000/questions/',\n 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36',\n 'LANG': 'en_US.UTF-8',\n 'LESSOPEN': '||/usr/bin/lesspipe.sh %s',\n 'LOGNAME': 'amirg',\n 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:',\n 'MAIL': '/var/spool/mail/root',\n 'OLDPWD': '/home/amirg',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin',\n 'PATH_INFO': u'/settings/QA_SITE_SETTINGS/',\n 'PWD': '/home/amirg/TestOverflow',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '10.185.4.76',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SCRIPT_NAME': u'',\n 'SELINUX_LEVEL_REQUESTED': '',\n 'SELINUX_ROLE_REQUESTED': '',\n 'SELINUX_USE_CURRENT_RANGE': '',\n 'SERVER_NAME': '10.185.6.78',\n 'SERVER_PORT': '8000',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/bash',\n 'SHLVL': '2',\n 'SSH_CLIENT': '10.185.4.76 51779 22',\n 'SSH_CONNECTION': '10.185.4.76 51779 10.185.6.78 22',\n 'SSH_TTY': '/dev/pts/1',\n 'TERM': 'xterm',\n 'TZ': 'America/Chicago',\n 'USER': 'amirg',\n 'XDG_RUNTIME_DIR': '/run/user/0',\n 'XDG_SESSION_ID': '25',\n '_': '/usr/bin/python',\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f2030f24270>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x3360c80>,\n 'wsgi.input': <socket._fileobject object at 0x7f200052ea50>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"</pre></td> </tr> <tr> <td>mgr</td> <td class="code"><pre><askbot.deps.livesettings.functions.ConfigurationSettings object at 0x7f20004ff550></pre></td> </tr> <tr> <td>use_db</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>template</td> <td class="code"><pre>'livesettings/group_settings.html'</pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/usr/lib/python2.7/site-packages/askbot/deps/livesettings/forms.py</code> in <code>__init__</code> <div class="context" id="c139775693018032"> <ol start="22" class="pre-context" id="pre139775693018032" style="display: none;"><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre></pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> for setting in flattened:</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> # Add the field to the customized field list</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> kw = {#todo: maybe move into the make_field call</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> 'label': setting.description,</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> 'help_text': setting.help_text,</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> }</pre></li></ol> <ol start="29" class="context-line"><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> fields = setting.make_fields(**kw)</pre> <span>...</span></li></ol> <ol start="30" class="post-context" id="post139775693018032" style="display: none;"><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre></pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> for field in fields:</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> k = '%s__%s__%s' % (setting.group.key, setting.key, field.language_code)</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> self.fields[k] = field</pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre></pre></li><li onclick="toggle('pre139775693018032', 'post139775693018032')"><pre> if not setting.group in groups:</pre></li></ol> </div> <div class="commands"> <a href="http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#" onclick="return varToggle(this, '139775693018032')"><span>â–¶</span> Local vars</a> </div> <table class="vars" id="v139775693018032" style="display: none;"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>settings</td> <td class="code"><pre>{'APP_TITLE': <askbot.deps.livesettings.values.StringValue object at 0x39d3910>, 'APP_KEYWORDS': <askbot.deps.livesettings.values.StringValue object at 0x39d3990>, 'APP_COPYRIGHT': <askbot.deps.livesettings.values.StringValue object at 0x39d3a10>, 'APP_DESCRIPTION': <askbot.deps.livesettings.values.StringValue object at 0x39d3ad0>, 'APP_SHORT_NAME': <askbot.deps.livesettings.values.StringValue object at 0x39d3b90>, 'APP_URL': <askbot.deps.livesettings.values.StringValue object at 0x39d3c50>, 'ENABLE_GREETING_FOR_ANON_USER': <askbot.deps.livesettings.values.BooleanValue object at 0x39d3d10>, 'GREETING_FOR_ANONYMOUS_USER': <askbot.deps.livesettings.values.StringValue object at 0x39d3ed0>}</pre></td> </tr> <tr> <td>fields</td> <td class="code"><pre>[<askbot.deps.livesettings.values.field object at 0x7f201871e090>]</pre></td> </tr> <tr> <td>k</td> <td class="code"><pre>'QA_SITE_SETTINGS__ENABLE_GREETING_FOR_ANON_USER__en'</pre></td> </tr> <tr> <td>args</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>field</td> <td class="code"><pre><askbot.deps.livesettings.values.field object at 0x7f201871e090></pre></td> </tr> <tr> <td>setting</td> <td class="code"><pre><askbot.deps.livesettings.values.StringValue object at 0x39d3ed0></pre></td> </tr> <tr> <td>kw</td> <td class="code"><pre>{'help_text': <django.utils.functional.__proxy__ object at 0x39d3e90>, | |
'label': <django.utils.functional.__proxy__ object at 0x39d3e10>}</pre></td> </tr> <tr> <td>groups</td> <td class="code"><pre>[{'APP_TITLE': <askbot.deps.livesettings.values.StringValue object at 0x39d3910>, 'APP_KEYWORDS': <askbot.deps.livesettings.values.StringValue object at 0x39d3990>, 'APP_COPYRIGHT': <askbot.deps.livesettings.values.StringValue object at 0x39d3a10>, 'APP_DESCRIPTION': <askbot.deps.livesettings.values.StringValue object at 0x39d3ad0>, 'APP_SHORT_NAME': <askbot.deps.livesettings.values.StringValue object at 0x39d3b90>, 'APP_URL': <askbot.deps.livesettings.values.StringValue object at 0x39d3c50>, 'ENABLE_GREETING_FOR_ANON_USER': <askbot.deps.livesettings.values.BooleanValue object at 0x39d3d10>, 'GREETING_FOR_ANONYMOUS_USER': <askbot.deps.livesettings.values.StringValue object at 0x39d3ed0>}]</pre></td> </tr> <tr> <td>kwargs</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>flattened</td> <td class="code"><pre>[<askbot.deps.livesettings.values.StringValue object at 0x39d3910>, | |
<askbot.deps.livesettings.values.StringValue object at 0x39d3990>, | |
<askbot.deps.livesettings.values.StringValue object at 0x39d3a10>, | |
<askbot.deps.livesettings.values.StringValue object at 0x39d3ad0>, | |
<askbot.deps.livesettings.values.StringValue object at 0x39d3b90>, | |
<askbot.deps.livesettings.values.StringValue object at 0x39d3c50>, | |
<askbot.deps.livesettings.values.BooleanValue object at 0x39d3d10>, | |
<askbot.deps.livesettings.values.StringValue object at 0x39d3ed0>]</pre></td> </tr> <tr> <td>self</td> <td class="code"><pre><askbot.deps.livesettings.forms.SettingsEditor object at 0x7f201087f150></pre></td> </tr> </tbody> </table> </li> <li class="frame user"> <code>/usr/lib/python2.7/site-packages/askbot/deps/livesettings/values.py</code> in <code>make_fields</code> <div class="context" id="c139775691550232"> <ol start="289" class="pre-context" id="pre139775691550232" style="display: none;"><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> return field</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre></pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> def make_fields(self, **kwargs):</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> if self.localized:</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> langs_dict = SortedDict(django_settings.LANGUAGES)</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> default_code = django_settings.LANGUAGE_CODE</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> default_name = langs_dict[default_code]</pre></li></ol> <ol start="296" class="context-line"><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> langs_dict.insert(0, default_code, default_name)</pre> <span>...</span></li></ol> <ol start="297" class="post-context" id="post139775691550232" style="display: none;"><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> langs = langs_dict.keys()</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> else:</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> langs = (django_settings.LANGUAGE_CODE,)</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre></pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> fields = list()</pre></li><li onclick="toggle('pre139775691550232', 'post139775691550232')"><pre> for lang in langs:</pre></li></ol> </div> <div class="commands"> <a href="http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/#" onclick="return varToggle(this, '139775691550232')"><span>â–¶</span> Local vars</a> </div> <table class="vars" id="v139775691550232" style="display: none;"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>self</td> <td class="code"><pre><askbot.deps.livesettings.values.StringValue object at 0x39d3ed0></pre></td> </tr> <tr> <td>default_name</td> <td class="code"><pre>'English'</pre></td> </tr> <tr> <td>langs_dict</td> <td class="code"><pre>{'af': 'Afrikaans', 'ar': 'Arabic', 'ast': 'Asturian', 'az': 'Azerbaijani', 'bg': 'Bulgarian', 'be': 'Belarusian', 'bn': 'Bengali', 'br': 'Breton', 'bs': 'Bosnian', 'ca': 'Catalan', 'cs': 'Czech', 'cy': 'Welsh', 'da': 'Danish', 'de': 'German', 'el': 'Greek', 'en': 'English', 'en-au': 'Australian English', 'en-gb': 'British English', 'eo': 'Esperanto', 'es': 'Spanish', 'es-ar': 'Argentinian Spanish', 'es-mx': 'Mexican Spanish', 'es-ni': 'Nicaraguan Spanish', 'es-ve': 'Venezuelan Spanish', 'et': 'Estonian', 'eu': 'Basque', 'fa': 'Persian', 'fi': 'Finnish', 'fr': 'French', 'fy': 'Frisian', 'ga': 'Irish', 'gl': 'Galician', 'he': 'Hebrew', 'hi': 'Hindi', 'hr': 'Croatian', 'hu': 'Hungarian', 'ia': 'Interlingua', 'id': 'Indonesian', 'io': 'Ido', 'is': 'Icelandic', 'it': 'Italian', 'ja': 'Japanese', 'ka': 'Georgian', 'kk': 'Kazakh', 'km': 'Khmer', 'kn': 'Kannada', 'ko': 'Korean', 'lb': 'Luxembourgish', 'lt': 'Lithuanian', 'lv': 'Latvian', 'mk': 'Macedonian', 'ml': 'Malayalam', 'mn': 'Mongolian', 'mr': 'Marathi', 'my': 'Burmese', 'nb': 'Norwegian Bokmal', 'ne': 'Nepali', 'nl': 'Dutch', 'nn': 'Norwegian Nynorsk', 'os': 'Ossetic', 'pa': 'Punjabi', 'pl': 'Polish', 'pt': 'Portuguese', 'pt-br': 'Brazilian Portuguese', 'ro': 'Romanian', 'ru': 'Russian', 'sk': 'Slovak', 'sl': 'Slovenian', 'sq': 'Albanian', 'sr': 'Serbian', 'sr-latn': 'Serbian Latin', 'sv': 'Swedish', 'sw': 'Swahili', 'ta': 'Tamil', 'te': 'Telugu', 'th': 'Thai', 'tr': 'Turkish', 'tt': 'Tatar', 'udm': 'Udmurt', 'uk': 'Ukrainian', 'ur': 'Urdu', 'vi': 'Vietnamese', 'zh-cn': 'Simplified Chinese', 'zh-hans': 'Simplified Chinese', 'zh-hant': 'Traditional Chinese', 'zh-tw': 'Traditional Chinese'}</pre></td> </tr> <tr> <td>default_code</td> <td class="code"><pre>'en'</pre></td> </tr> <tr> <td>kwargs</td> <td class="code"><pre>{'help_text': <django.utils.functional.__proxy__ object at 0x39d3e90>, | |
'label': <django.utils.functional.__proxy__ object at 0x39d3e10>}</pre></td> </tr> </tbody> </table> </li> </ul> </div> <form action="http://dpaste.com/" name="pasteform" id="pasteform" method="post"> <div id="pastebinTraceback" class="pastebin" style="display: none;"> <input type="hidden" name="language" value="PythonConsole"> <input type="hidden" name="title" value="AttributeError at /settings/QA_SITE_SETTINGS/"> <input type="hidden" name="source" value="Django Dpaste Agent"> <input type="hidden" name="poster" value="Django"> <textarea name="content" id="traceback_area" cols="140" rows="25">Environment: | |
Request Method: GET | |
Request URL: http://10.185.6.78:8000/settings/QA_SITE_SETTINGS/ | |
Django Version: 1.7.10 | |
Python Version: 2.7.3 | |
Installed Applications: | |
('longerusername', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.sites', | |
'django.contrib.staticfiles', | |
'django.contrib.admin', | |
'django.contrib.humanize', | |
'django.contrib.sitemaps', | |
'django.contrib.messages', | |
'compressor', | |
'askbot', | |
'askbot.deps.django_authopenid', | |
'askbot.deps.livesettings', | |
'keyedcache', | |
'robots', | |
'django_countries', | |
'djcelery', | |
'djkombu', | |
'followit', | |
'tinymce', | |
'askbot.deps.group_messaging', | |
'captcha', | |
'avatar') | |
Installed Middleware: | |
('django.contrib.sessions.middleware.SessionMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware', | |
'askbot.middleware.forum_mode.ForumModeMiddleware', | |
'askbot.middleware.cancel.CancelActionMiddleware', | |
'django.middleware.transaction.TransactionMiddleware', | |
'askbot.middleware.view_log.ViewLogMiddleware', | |
'askbot.middleware.spaceless.SpacelessMiddleware', | |
'askbot.middleware.csrf.CsrfViewMiddleware') | |
Traceback: | |
File "/usr/lib64/python2.7/site-packages/django/core/handlers/base.py" in get_response | |
111. response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
File "/usr/lib64/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func | |
52. response = view_func(request, *args, **kwargs) | |
File "/usr/lib/python2.7/site-packages/askbot/utils/decorators.py" in decorator | |
258. return view_func(request, *args, **kwargs) | |
File "/usr/lib/python2.7/site-packages/askbot/deps/livesettings/views.py" in group_settings | |
57. form = forms.SettingsEditor(settings=settings) | |
File "/usr/lib/python2.7/site-packages/askbot/deps/livesettings/forms.py" in __init__ | |
29. fields = setting.make_fields(**kw) | |
File "/usr/lib/python2.7/site-packages/askbot/deps/livesettings/values.py" in make_fields | |
296. langs_dict.insert(0, default_code, default_name) | |
Exception Type: AttributeError at /settings/QA_SITE_SETTINGS/ | |
Exception Value: 'SortedDict' object has no attribute 'insert' | |
</textarea> <br><br> <input type="submit" value="Share this traceback on a public Web site"> </div> </form> </div> <div id="requestinfo"> <h2>Request information</h2> <h3 id="get-info">GET</h3> <p>No GET data</p> <h3 id="post-info">POST</h3> <p>No POST data</p> <h3 id="files-info">FILES</h3> <p>No FILES data</p> <h3 id="cookie-info">COOKIES</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>_csrf</td> <td class="code"><pre>'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi'</pre></td> </tr> <tr> <td>sessionid</td> <td class="code"><pre>'6acyf1v982ke874cw72k6h0otkl4dqda'</pre></td> </tr> <tr> <td>askbot_visitor</td> <td class="code"><pre>'False'</pre></td> </tr> </tbody> </table> <h3 id="meta-info">META</h3> <table class="req"> <thead> <tr> <th>Variable</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>wsgi.multiprocess</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>RUN_MAIN</td> <td class="code"><pre>'true'</pre></td> </tr> <tr> <td>HTTP_REFERER</td> <td class="code"><pre>'http://10.185.6.78:8000/questions/'</pre></td> </tr> <tr> <td>SERVER_PROTOCOL</td> <td class="code"><pre>'HTTP/1.1'</pre></td> </tr> <tr> <td>SERVER_SOFTWARE</td> <td class="code"><pre>'WSGIServer/0.1 Python/2.7.3'</pre></td> </tr> <tr> <td>SCRIPT_NAME</td> <td class="code"><pre>u''</pre></td> </tr> <tr> <td>LESSOPEN</td> <td class="code"><pre>'||/usr/bin/lesspipe.sh %s'</pre></td> </tr> <tr> <td>SSH_CLIENT</td> <td class="code"><pre>'10.185.4.76 51779 22'</pre></td> </tr> <tr> <td>SELINUX_USE_CURRENT_RANGE</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>LOGNAME</td> <td class="code"><pre>'amirg'</pre></td> </tr> <tr> <td>USER</td> <td class="code"><pre>'amirg'</pre></td> </tr> <tr> <td>PATH</td> <td class="code"><pre>'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin'</pre></td> </tr> <tr> <td>QUERY_STRING</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>HOME</td> <td class="code"><pre>'/home/amirg'</pre></td> </tr> <tr> <td>wsgi.errors</td> <td class="code"><pre><open file '<stderr>', mode 'w' at 0x7f2030f24270></pre></td> </tr> <tr> <td>LANG</td> <td class="code"><pre>'en_US.UTF-8'</pre></td> </tr> <tr> <td>TERM</td> <td class="code"><pre>'xterm'</pre></td> </tr> <tr> <td>SHELL</td> <td class="code"><pre>'/bin/bash'</pre></td> </tr> <tr> <td>TZ</td> <td class="code"><pre>'America/Chicago'</pre></td> </tr> <tr> <td>HTTP_COOKIE</td> <td class="code"><pre>'askbot_visitor=False; sessionid=6acyf1v982ke874cw72k6h0otkl4dqda; _csrf=yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi'</pre></td> </tr> <tr> <td>SERVER_NAME</td> <td class="code"><pre>'10.185.6.78'</pre></td> </tr> <tr> <td>REMOTE_ADDR</td> <td class="code"><pre>'10.185.4.76'</pre></td> </tr> <tr> <td>SHLVL</td> <td class="code"><pre>'2'</pre></td> </tr> <tr> <td>HISTSIZE</td> <td class="code"><pre>'1000'</pre></td> </tr> <tr> <td>wsgi.url_scheme</td> <td class="code"><pre>'http'</pre></td> </tr> <tr> <td>SERVER_PORT</td> <td class="code"><pre>'8000'</pre></td> </tr> <tr> <td>CONTENT_LENGTH</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>HTTP_CONNECTION</td> <td class="code"><pre>'keep-alive'</pre></td> </tr> <tr> <td>XDG_RUNTIME_DIR</td> <td class="code"><pre>'/run/user/0'</pre></td> </tr> <tr> <td>wsgi.file_wrapper</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>CSRF_COOKIE</td> <td class="code"><pre>u'yPhFOEOx82HHH88xYhh1LcHwfYWZLRoi'</pre></td> </tr> <tr> <td>CELERY_LOADER</td> <td class="code"><pre>'djcelery.loaders.DjangoLoader'</pre></td> </tr> <tr> <td>SELINUX_ROLE_REQUESTED</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>HTTP_USER_AGENT</td> <td class="code"><pre>'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36'</pre></td> </tr> <tr> <td>HTTP_HOST</td> <td class="code"><pre>'10.185.6.78:8000'</pre></td> </tr> <tr> <td>wsgi.multithread</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>HTTP_UPGRADE_INSECURE_REQUESTS</td> <td class="code"><pre>'1'</pre></td> </tr> <tr> <td>XDG_SESSION_ID</td> <td class="code"><pre>'25'</pre></td> </tr> <tr> <td>_</td> <td class="code"><pre>'/usr/bin/python'</pre></td> </tr> <tr> <td>HTTP_ACCEPT</td> <td class="code"><pre>'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'</pre></td> </tr> <tr> <td>LS_COLORS</td> <td class="code"><pre>'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:'</pre></td> </tr> <tr> <td>wsgi.version</td> <td class="code"><pre>(1, 0)</pre></td> </tr> <tr> <td>GATEWAY_INTERFACE</td> <td class="code"><pre>'CGI/1.1'</pre></td> </tr> <tr> <td>wsgi.run_once</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SSH_TTY</td> <td class="code"><pre>'/dev/pts/1'</pre></td> </tr> <tr> <td>OLDPWD</td> <td class="code"><pre>'/home/amirg'</pre></td> </tr> <tr> <td>HOSTNAME</td> <td class="code"><pre>'lb-tlvb-tools2'</pre></td> </tr> <tr> <td>HTTP_ACCEPT_LANGUAGE</td> <td class="code"><pre>'en-US,en;q=0.8,he;q=0.6'</pre></td> </tr> <tr> <td>wsgi.input</td> <td class="code"><pre><socket._fileobject object at 0x7f200052ea50></pre></td> </tr> <tr> <td>SELINUX_LEVEL_REQUESTED</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>HISTCONTROL</td> <td class="code"><pre>'ignoredups'</pre></td> </tr> <tr> <td>PWD</td> <td class="code"><pre>'/home/amirg/TestOverflow'</pre></td> </tr> <tr> <td>REQUEST_METHOD</td> <td class="code"><pre>'GET'</pre></td> </tr> <tr> <td>DJANGO_SETTINGS_MODULE</td> <td class="code"><pre>'settings'</pre></td> </tr> <tr> <td>CONTENT_TYPE</td> <td class="code"><pre>'text/plain'</pre></td> </tr> <tr> <td>MAIL</td> <td class="code"><pre>'/var/spool/mail/root'</pre></td> </tr> <tr> <td>SSH_CONNECTION</td> <td class="code"><pre>'10.185.4.76 51779 10.185.6.78 22'</pre></td> </tr> <tr> <td>REMOTE_HOST</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>HTTP_ACCEPT_ENCODING</td> <td class="code"><pre>'gzip, deflate, sdch'</pre></td> </tr> <tr> <td>PATH_INFO</td> <td class="code"><pre>u'/settings/QA_SITE_SETTINGS/'</pre></td> </tr> </tbody> </table> <h3 id="settings-info">Settings</h3> <h4>Using settings module <code>settings</code></h4> <table class="req"> <thead> <tr> <th>Setting</th> <th>Value</th> </tr> </thead> <tbody> <tr> <td>COMPRESS_URL</td> <td class="code"><pre>'/m/'</pre></td> </tr> <tr> <td>IMAP_PORT</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>COMPRESS_OUTPUT_DIR</td> <td class="code"><pre>u'CACHE'</pre></td> </tr> <tr> <td>NOCAPTCHA</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>COMPRESS_TEMPLATE_FILTER_CONTEXT</td> <td class="code"><pre>{u'STATIC_URL': '/m/'}</pre></td> </tr> <tr> <td>EMAIL_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TINYMCE_JS_ROOT</td> <td class="code"><pre>'/home/amirg/TestOverflow/static/default/media/tinymce/'</pre></td> </tr> <tr> <td>COMPRESS_DATA_URI_MAX_SIZE</td> <td class="code"><pre>1024</pre></td> </tr> <tr> <td>ASKBOT_MAX_UPLOAD_FILE_SIZE</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>LANGUAGE_CODE</td> <td class="code"><pre>'en'</pre></td> </tr> <tr> <td>AVATAR_DEFAULT_SIZE</td> <td class="code"><pre>80</pre></td> </tr> <tr> <td>MANAGERS</td> <td class="code"><pre>(('Your Name', 'your_email@domain.com'),)</pre></td> </tr> <tr> <td>COMPRESS_CSS_HASHING_METHOD</td> <td class="code"><pre>u'mtime'</pre></td> </tr> <tr> <td>AVATAR_CLEANUP_DELETED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TEST_NON_SERIALIZED_APPS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>ASKBOT_ALLOWED_UPLOAD_FILE_TYPES</td> <td class="code"><pre>('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff')</pre></td> </tr> <tr> <td>IGNORABLE_404_URLS</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>SESSION_SERIALIZER</td> <td class="code"><pre>'django.contrib.sessions.serializers.PickleSerializer'</pre></td> </tr> <tr> <td>STATIC_ROOT</td> <td class="code"><pre>'/home/amirg/TestOverflow/static'</pre></td> </tr> <tr> <td>ASKBOT_USE_STACKEXCHANGE_URLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>LOG_FILENAME</td> <td class="code"><pre>'askbot.log'</pre></td> </tr> <tr> <td>USE_THOUSAND_SEPARATOR</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ASKBOT_CSS_DEVEL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>COMPRESS_OFFLINE_MANIFEST</td> <td class="code"><pre>u'manifest.json'</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ANONYMOUS_ONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>ALLOWED_HOSTS</td> <td class="code"><pre>['*']</pre></td> </tr> <tr> <td>MESSAGE_STORAGE</td> <td class="code"><pre>'django.contrib.messages.storage.fallback.FallbackStorage'</pre></td> </tr> <tr> <td>WSGI_APPLICATION</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>COMPRESS_YUI_JS_ARGUMENTS</td> <td class="code"><pre>u''</pre></td> </tr> <tr> <td>SEND_BROKEN_LINK_EMAILS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ATOMIC_REQUESTS</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>STATICFILES_FINDERS</td> <td class="code"><pre>('django.contrib.staticfiles.finders.FileSystemFinder', | |
'django.contrib.staticfiles.finders.AppDirectoriesFinder', | |
'compressor.finders.CompressorFinder')</pre></td> </tr> <tr> <td>DATE_FORMAT</td> <td class="code"><pre>'N j, Y'</pre></td> </tr> <tr> <td>SESSION_CACHE_ALIAS</td> <td class="code"><pre>'default'</pre></td> </tr> <tr> <td>AVATAR_RESIZE_METHOD</td> <td class="code"><pre>1</pre></td> </tr> <tr> <td>COMPRESS_CSSTIDY_ARGUMENTS</td> <td class="code"><pre>u'--template=highest'</pre></td> </tr> <tr> <td>SESSION_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>JINJA2_EXTENSIONS</td> <td class="code"><pre>('compressor.contrib.jinja2ext.CompressorExtension',)</pre></td> </tr> <tr> <td>COMPRESS_YUGLIFY_JS_ARGUMENTS</td> <td class="code"><pre>u'--terminal'</pre></td> </tr> <tr> <td>AVATAR_AUTO_GENERATE_SIZES</td> <td class="code"><pre>(16, 32, 48, 128)</pre></td> </tr> <tr> <td>ADMIN_FOR</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>TIME_INPUT_FORMATS</td> <td class="code"><pre>('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')</pre></td> </tr> <tr> <td>DATABASES</td> <td class="code"><pre>{'default': {'ATOMIC_REQUESTS': False, | |
'AUTOCOMMIT': True, | |
'CONN_MAX_AGE': 0, | |
'ENGINE': 'django.db.backends.postgresql_psycopg2', | |
'HOST': '', | |
'NAME': 'askdb', | |
'OPTIONS': {}, | |
'PASSWORD': u'********************', | |
'PORT': '', | |
'TEST': {'CHARSET': 'utf8', | |
'COLLATION': 'utf8_general_ci', | |
'MIRROR': None, | |
'NAME': None}, | |
'TIME_ZONE': 'America/Chicago', | |
'USER': 'amirg'}}</pre></td> </tr> <tr> <td>TEMPLATE_DEBUG</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>FILE_UPLOAD_DIRECTORY_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>STATIC_URL</td> <td class="code"><pre>'/m/'</pre></td> </tr> <tr> <td>COMPRESS_YUI_BINARY</td> <td class="code"><pre>u'java -jar yuicompressor.jar'</pre></td> </tr> <tr> <td>FILE_UPLOAD_PERMISSIONS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_UPLOAD_HANDLERS</td> <td class="code"><pre>('django.core.files.uploadhandler.MemoryFileUploadHandler', | |
'django.core.files.uploadhandler.TemporaryFileUploadHandler')</pre></td> </tr> <tr> <td>DEFAULT_CONTENT_TYPE</td> <td class="code"><pre>'text/html'</pre></td> </tr> <tr> <td>COMPRESS_CSS_COMPRESSOR</td> <td class="code"><pre>u'compressor.css.CssCompressor'</pre></td> </tr> <tr> <td>APPEND_SLASH</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>CSRF_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DATABASE_ROUTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>EMAIL_USE_SSL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>YEAR_MONTH_FORMAT</td> <td class="code"><pre>'F Y'</pre></td> </tr> <tr> <td>COMPRESS_OFFLINE_TIMEOUT</td> <td class="code"><pre>31536000</pre></td> </tr> <tr> <td>AVATAR_GRAVATAR_BACKUP</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>STATICFILES_STORAGE</td> <td class="code"><pre>'django.contrib.staticfiles.storage.StaticFilesStorage'</pre></td> </tr> <tr> <td>CACHES</td> <td class="code"><pre>{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', | |
'KEY_PREFIX': u'********************', | |
'LOCATION': 'askbot', | |
'TIMEOUT': 6000}}</pre></td> </tr> <tr> <td>COMPRESS_CLEAN_CSS_ARGUMENTS</td> <td class="code"><pre>u''</pre></td> </tr> <tr> <td>SERVER_EMAIL</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>SESSION_COOKIE_PATH</td> <td class="code"><pre>'/'</pre></td> </tr> <tr> <td>COMPRESS_PARSER</td> <td class="code"><pre>'compressor.parser.HtmlParser'</pre></td> </tr> <tr> <td>AVATAR_HASH_FILENAMES</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ROOT_URLCONF</td> <td class="code"><pre>'TestOverflow.urls'</pre></td> </tr> <tr> <td>COMPRESS_CACHE_BACKEND</td> <td class="code"><pre>u'default'</pre></td> </tr> <tr> <td>SILENCED_SYSTEM_CHECKS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>MIDDLEWARE_CLASSES</td> <td class="code"><pre>('django.contrib.sessions.middleware.SessionMiddleware', | |
'django.contrib.messages.middleware.MessageMiddleware', | |
'django.middleware.common.CommonMiddleware', | |
'django.contrib.auth.middleware.AuthenticationMiddleware', | |
'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware', | |
'askbot.middleware.forum_mode.ForumModeMiddleware', | |
'askbot.middleware.cancel.CancelActionMiddleware', | |
'django.middleware.transaction.TransactionMiddleware', | |
'askbot.middleware.view_log.ViewLogMiddleware', | |
'askbot.middleware.spaceless.SpacelessMiddleware', | |
'askbot.middleware.csrf.CsrfViewMiddleware')</pre></td> </tr> <tr> <td>USE_I18N</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>ASKBOT_MULTILINGUAL</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECRET_KEY</td> <td class="code"><pre>u'********************'</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_NAME</td> <td class="code"><pre>'django_language'</pre></td> </tr> <tr> <td>DEFAULT_INDEX_TABLESPACE</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>AVATAR_CACHE_TIMEOUT</td> <td class="code"><pre>3600</pre></td> </tr> <tr> <td>BROKER_TRANSPORT</td> <td class="code"><pre>'djkombu.transport.DatabaseTransport'</pre></td> </tr> <tr> <td>TRANSACTIONS_MANAGED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>LOGGING_CONFIG</td> <td class="code"><pre>'logging.config.dictConfig'</pre></td> </tr> <tr> <td>SIGNING_BACKEND</td> <td class="code"><pre>'django.core.signing.TimestampSigner'</pre></td> </tr> <tr> <td>TEMPLATE_LOADERS</td> <td class="code"><pre>('askbot.skins.loaders.Loader', | |
'askbot.skins.loaders.JinjaAppDirectoryLoader', | |
'django.template.loaders.app_directories.Loader', | |
'django.template.loaders.filesystem.Loader')</pre></td> </tr> <tr> <td>ASKBOT_ROOT</td> <td class="code"><pre>'/usr/lib/python2.7/site-packages/askbot'</pre></td> </tr> <tr> <td>FIRST_DAY_OF_WEEK</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>IMAP_HOST_USER</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>ALLOW_UNICODE_SLUGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>X_FRAME_OPTIONS</td> <td class="code"><pre>'SAMEORIGIN'</pre></td> </tr> <tr> <td>CSRF_COOKIE_NAME</td> <td class="code"><pre>'_csrf'</pre></td> </tr> <tr> <td>COMPRESS_CLEAN_CSS_BINARY</td> <td class="code"><pre>u'cleancss'</pre></td> </tr> <tr> <td>FORCE_SCRIPT_NAME</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>USE_X_FORWARDED_HOST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>AVATAR_GRAVATAR_BASE_URL</td> <td class="code"><pre>'https://www.gravatar.com/avatar/'</pre></td> </tr> <tr> <td>COMPRESS_CSSTIDY_BINARY</td> <td class="code"><pre>u'csstidy'</pre></td> </tr> <tr> <td>SESSION_COOKIE_SECURE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TINYMCE_SPELLCHECKER</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>COMPRESS_DEBUG_TOGGLE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>COMPRESS_VERBOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CSRF_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>FILE_CHARSET</td> <td class="code"><pre>'utf-8'</pre></td> </tr> <tr> <td>DEBUG</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>IMAP_HOST_PASSWORD</td> <td class="code"><pre>u'********************'</pre></td> </tr> <tr> <td>TINYMCE_COMPRESSOR</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_DOMAIN</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>COMPRESS_JS_FILTERS</td> <td class="code"><pre>[]</pre></td> </tr> <tr> <td>DEFAULT_FILE_STORAGE</td> <td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td> </tr> <tr> <td>INSTALLED_APPS</td> <td class="code"><pre>('longerusername', | |
'django.contrib.auth', | |
'django.contrib.contenttypes', | |
'django.contrib.sessions', | |
'django.contrib.sites', | |
'django.contrib.staticfiles', | |
'django.contrib.admin', | |
'django.contrib.humanize', | |
'django.contrib.sitemaps', | |
'django.contrib.messages', | |
'compressor', | |
'askbot', | |
'askbot.deps.django_authopenid', | |
'askbot.deps.livesettings', | |
'keyedcache', | |
'robots', | |
'django_countries', | |
'djcelery', | |
'djkombu', | |
'followit', | |
'tinymce', | |
'askbot.deps.group_messaging', | |
'captcha', | |
'avatar')</pre></td> </tr> <tr> <td>LANGUAGES_BIDI</td> <td class="code"><pre>('he', 'ar', 'fa', 'ur')</pre></td> </tr> <tr> <td>USE_L10N</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>COMMENTS_ALLOW_PROFANITIES</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>COMPRESS_YUI_CSS_ARGUMENTS</td> <td class="code"><pre>u''</pre></td> </tr> <tr> <td>STATICFILES_DIRS</td> <td class="code"><pre>(('default/media', '/usr/lib/python2.7/site-packages/askbot/media'),)</pre></td> </tr> <tr> <td>PREPEND_WWW</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SECURE_PROXY_SSL_HEADER</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>COMPRESS_CLOSURE_COMPILER_ARGUMENTS</td> <td class="code"><pre>u''</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_AGE</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>SESSION_COOKIE_HTTPONLY</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DEBUG_PROPAGATE_EXCEPTIONS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>INTERNAL_IPS</td> <td class="code"><pre>('127.0.0.1',)</pre></td> </tr> <tr> <td>ASKBOT_URL</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>MONTH_DAY_FORMAT</td> <td class="code"><pre>'F j'</pre></td> </tr> <tr> <td>ENABLE_HAYSTACK_SEARCH</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>LOGIN_URL</td> <td class="code"><pre>'/account/signin/'</pre></td> </tr> <tr> <td>SESSION_EXPIRE_AT_BROWSER_CLOSE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>IMAP_USE_TLS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SOUTH_TESTS_MIGRATE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>DOMAIN_NAME</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>TIME_FORMAT</td> <td class="code"><pre>'P'</pre></td> </tr> <tr> <td>LIVESETTINGS_CACHE_TIMEOUT</td> <td class="code"><pre>6000</pre></td> </tr> <tr> <td>COMPRESS_STORAGE</td> <td class="code"><pre>u'compressor.storage.CompressorFileStorage'</pre></td> </tr> <tr> <td>AUTH_USER_MODEL</td> <td class="code"><pre>'auth.User'</pre></td> </tr> <tr> <td>DATE_INPUT_FORMATS</td> <td class="code"><pre>('%Y-%m-%d', | |
'%m/%d/%Y', | |
'%m/%d/%y', | |
'%b %d %Y', | |
'%b %d, %Y', | |
'%d %b %Y', | |
'%d %b, %Y', | |
'%B %d %Y', | |
'%B %d, %Y', | |
'%d %B %Y', | |
'%d %B, %Y')</pre></td> </tr> <tr> <td>COMPRESS_CSS_FILTERS</td> <td class="code"><pre>[u'compressor.filters.css_default.CssAbsoluteFilter']</pre></td> </tr> <tr> <td>AUTHENTICATION_BACKENDS</td> <td class="code"><pre>('django.contrib.auth.backends.ModelBackend', | |
'askbot.deps.django_authopenid.backends.AuthBackend')</pre></td> </tr> <tr> <td>EMAIL_HOST_PASSWORD</td> <td class="code"><pre>u'********************'</pre></td> </tr> <tr> <td>COMPRESS_REBUILD_TIMEOUT</td> <td class="code"><pre>2592000</pre></td> </tr> <tr> <td>PASSWORD_RESET_TIMEOUT_DAYS</td> <td class="code"><pre>u'********************'</pre></td> </tr> <tr> <td>NOTIFICATION_DELAY_TIME</td> <td class="code"><pre>900</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_ALIAS</td> <td class="code"><pre>'default'</pre></td> </tr> <tr> <td>SESSION_SAVE_EVERY_REQUEST</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>ADMIN_MEDIA_PREFIX</td> <td class="code"><pre>'/m/admin/'</pre></td> </tr> <tr> <td>NUMBER_GROUPING</td> <td class="code"><pre>0</pre></td> </tr> <tr> <td>SESSION_COOKIE_NAME</td> <td class="code"><pre>'sessionid'</pre></td> </tr> <tr> <td>SESSION_ENGINE</td> <td class="code"><pre>'django.contrib.sessions.backends.db'</pre></td> </tr> <tr> <td>COMPRESS_YUGLIFY_BINARY</td> <td class="code"><pre>u'yuglify'</pre></td> </tr> <tr> <td>CSRF_FAILURE_VIEW</td> <td class="code"><pre>'django.views.csrf.csrf_failure'</pre></td> </tr> <tr> <td>CSRF_COOKIE_PATH</td> <td class="code"><pre>'/'</pre></td> </tr> <tr> <td>COMPRESS_CACHE_KEY_FUNCTION</td> <td class="code"><pre>u'********************'</pre></td> </tr> <tr> <td>JINJA2_TEMPLATES</td> <td class="code"><pre>('captcha',)</pre></td> </tr> <tr> <td>AVATAR_ALLOWED_FILE_EXTS</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>PROJECT_ROOT</td> <td class="code"><pre>'/home/amirg/TestOverflow'</pre></td> </tr> <tr> <td>DECIMAL_SEPARATOR</td> <td class="code"><pre>'.'</pre></td> </tr> <tr> <td>COMPRESS_PRECOMPILERS</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>COMPRESS_MTIME_DELAY</td> <td class="code"><pre>10</pre></td> </tr> <tr> <td>SITE_ID</td> <td class="code"><pre>1</pre></td> </tr> <tr> <td>LOCALE_PATHS</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>TEMPLATE_STRING_IF_INVALID</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>GROUP_MESSAGING</td> <td class="code"><pre>{'BASE_URL_GETTER_FUNCTION': 'askbot.models.user_get_profile_url', | |
'BASE_URL_PARAMS': {'section': 'messages', 'sort': 'inbox'}}</pre></td> </tr> <tr> <td>SESSION_FILE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>LOGOUT_URL</td> <td class="code"><pre>'/accounts/logout/'</pre></td> </tr> <tr> <td>AVATAR_HASH_USERDIRNAMES</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TEMPLATE_DIRS</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>LOGIN_REDIRECT_URL</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>FIXTURE_DIRS</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>EMAIL_HOST</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>AVATAR_THUMB_QUALITY</td> <td class="code"><pre>85</pre></td> </tr> <tr> <td>MEDIA_ROOT</td> <td class="code"><pre>'/home/amirg/TestOverflow/askbot/upfiles'</pre></td> </tr> <tr> <td>DEFAULT_EXCEPTION_REPORTER_FILTER</td> <td class="code"><pre>'django.views.debug.SafeExceptionReporterFilter'</pre></td> </tr> <tr> <td>ADMINS</td> <td class="code"><pre>(('Your Name', 'your_email@domain.com'),)</pre></td> </tr> <tr> <td>AVATAR_THUMB_FORMAT</td> <td class="code"><pre>'JPEG'</pre></td> </tr> <tr> <td>FORMAT_MODULE_PATH</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>DEFAULT_FROM_EMAIL</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>COMPRESS_ROOT</td> <td class="code"><pre>'/home/amirg/TestOverflow/static'</pre></td> </tr> <tr> <td>AVATAR_STORAGE_DIR</td> <td class="code"><pre>'avatars'</pre></td> </tr> <tr> <td>THOUSAND_SEPARATOR</td> <td class="code"><pre>','</pre></td> </tr> <tr> <td>AVATAR_GRAVATAR_DEFAULT</td> <td class="code"><pre>None</pre></td> </tr> <tr> <td>CSRF_COOKIE_HTTPONLY</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>MEDIA_URL</td> <td class="code"><pre>'/upfiles/'</pre></td> </tr> <tr> <td>DATETIME_FORMAT</td> <td class="code"><pre>'N j, Y, P'</pre></td> </tr> <tr> <td>EMAIL_SUBJECT_PREFIX</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>AVATAR_MAX_AVATARS_PER_USER</td> <td class="code"><pre>42</pre></td> </tr> <tr> <td>AVATAR_DEFAULT_URL</td> <td class="code"><pre>'avatar/img/default.jpg'</pre></td> </tr> <tr> <td>COMPRESS_JS_COMPRESSOR</td> <td class="code"><pre>u'compressor.js.JsCompressor'</pre></td> </tr> <tr> <td>DISALLOWED_USER_AGENTS</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>ALLOWED_INCLUDE_ROOTS</td> <td class="code"><pre>()</pre></td> </tr> <tr> <td>COMPRESS_MINT_DELAY</td> <td class="code"><pre>30</pre></td> </tr> <tr> <td>LOGGING</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>SHORT_DATE_FORMAT</td> <td class="code"><pre>'m/d/Y'</pre></td> </tr> <tr> <td>IMAP_HOST</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>TEST_RUNNER</td> <td class="code"><pre>'django.test.simple.DjangoTestSuiteRunner'</pre></td> </tr> <tr> <td>COMPRESS_ENABLED</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_KEY_PREFIX</td> <td class="code"><pre>u'********************'</pre></td> </tr> <tr> <td>COMPRESS_OFFLINE</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>TIME_ZONE</td> <td class="code"><pre>'America/Chicago'</pre></td> </tr> <tr> <td>COMPRESS_OFFLINE_CONTEXT</td> <td class="code"><pre>{u'STATIC_URL': '/m/'}</pre></td> </tr> <tr> <td>AVATAR_STORAGE</td> <td class="code"><pre>'django.core.files.storage.FileSystemStorage'</pre></td> </tr> <tr> <td>COMPRESS_YUGLIFY_CSS_ARGUMENTS</td> <td class="code"><pre>u'--terminal'</pre></td> </tr> <tr> <td>VERIFIER_EXPIRE_DAYS</td> <td class="code"><pre>3</pre></td> </tr> <tr> <td>EMAIL_BACKEND</td> <td class="code"><pre>'django.core.mail.backends.smtp.EmailBackend'</pre></td> </tr> <tr> <td>COMPRESS_JINJA2_GET_ENVIRONMENT</td> <td class="code"><pre><function JINJA2_GET_ENVIRONMENT at 0x34a5b18></pre></td> </tr> <tr> <td>DEFAULT_TABLESPACE</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>TEMPLATE_CONTEXT_PROCESSORS</td> <td class="code"><pre>('django.core.context_processors.request', | |
'askbot.context.application_settings', | |
'askbot.user_messages.context_processors.user_messages', | |
'django.contrib.auth.context_processors.auth', | |
'django.core.context_processors.csrf', | |
'askbot.deps.group_messaging.context.group_messaging_context')</pre></td> </tr> <tr> <td>MIGRATION_MODULES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>SESSION_COOKIE_AGE</td> <td class="code"><pre>1209600</pre></td> </tr> <tr> <td>SETTINGS_MODULE</td> <td class="code"><pre>'settings'</pre></td> </tr> <tr> <td>USE_ETAGS</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>AVATAR_MAX_SIZE</td> <td class="code"><pre>1048576</pre></td> </tr> <tr> <td>LANGUAGES</td> <td class="code"><pre>(('af', 'Afrikaans'), | |
('ar', 'Arabic'), | |
('ast', 'Asturian'), | |
('az', 'Azerbaijani'), | |
('bg', 'Bulgarian'), | |
('be', 'Belarusian'), | |
('bn', 'Bengali'), | |
('br', 'Breton'), | |
('bs', 'Bosnian'), | |
('ca', 'Catalan'), | |
('cs', 'Czech'), | |
('cy', 'Welsh'), | |
('da', 'Danish'), | |
('de', 'German'), | |
('el', 'Greek'), | |
('en', 'English'), | |
('en-au', 'Australian English'), | |
('en-gb', 'British English'), | |
('eo', 'Esperanto'), | |
('es', 'Spanish'), | |
('es-ar', 'Argentinian Spanish'), | |
('es-mx', 'Mexican Spanish'), | |
('es-ni', 'Nicaraguan Spanish'), | |
('es-ve', 'Venezuelan Spanish'), | |
('et', 'Estonian'), | |
('eu', 'Basque'), | |
('fa', 'Persian'), | |
('fi', 'Finnish'), | |
('fr', 'French'), | |
('fy', 'Frisian'), | |
('ga', 'Irish'), | |
('gl', 'Galician'), | |
('he', 'Hebrew'), | |
('hi', 'Hindi'), | |
('hr', 'Croatian'), | |
('hu', 'Hungarian'), | |
('ia', 'Interlingua'), | |
('id', 'Indonesian'), | |
('io', 'Ido'), | |
('is', 'Icelandic'), | |
('it', 'Italian'), | |
('ja', 'Japanese'), | |
('ka', 'Georgian'), | |
('kk', 'Kazakh'), | |
('km', 'Khmer'), | |
('kn', 'Kannada'), | |
('ko', 'Korean'), | |
('lb', 'Luxembourgish'), | |
('lt', 'Lithuanian'), | |
('lv', 'Latvian'), | |
('mk', 'Macedonian'), | |
('ml', 'Malayalam'), | |
('mn', 'Mongolian'), | |
('mr', 'Marathi'), | |
('my', 'Burmese'), | |
('nb', 'Norwegian Bokmal'), | |
('ne', 'Nepali'), | |
('nl', 'Dutch'), | |
('nn', 'Norwegian Nynorsk'), | |
('os', 'Ossetic'), | |
('pa', 'Punjabi'), | |
('pl', 'Polish'), | |
('pt', 'Portuguese'), | |
('pt-br', 'Brazilian Portuguese'), | |
('ro', 'Romanian'), | |
('ru', 'Russian'), | |
('sk', 'Slovak'), | |
('sl', 'Slovenian'), | |
('sq', 'Albanian'), | |
('sr', 'Serbian'), | |
('sr-latn', 'Serbian Latin'), | |
('sv', 'Swedish'), | |
('sw', 'Swahili'), | |
('ta', 'Tamil'), | |
('te', 'Telugu'), | |
('th', 'Thai'), | |
('tr', 'Turkish'), | |
('tt', 'Tatar'), | |
('udm', 'Udmurt'), | |
('uk', 'Ukrainian'), | |
('ur', 'Urdu'), | |
('vi', 'Vietnamese'), | |
('zh-cn', 'Simplified Chinese'), | |
('zh-hans', 'Simplified Chinese'), | |
('zh-hant', 'Traditional Chinese'), | |
('zh-tw', 'Traditional Chinese'))</pre></td> </tr> <tr> <td>COMPRESS_CLOSURE_COMPILER_BINARY</td> <td class="code"><pre>u'java -jar compiler.jar'</pre></td> </tr> <tr> <td>FILE_UPLOAD_TEMP_DIR</td> <td class="code"><pre>'/home/amirg/TestOverflow/tmp'</pre></td> </tr> <tr> <td>CSRF_COOKIE_AGE</td> <td class="code"><pre>31449600</pre></td> </tr> <tr> <td>DEFAULT_CHARSET</td> <td class="code"><pre>'utf-8'</pre></td> </tr> <tr> <td>ASKBOT_TRANSLATE_URL</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>EMAIL_PORT</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>USE_TZ</td> <td class="code"><pre>False</pre></td> </tr> <tr> <td>SHORT_DATETIME_FORMAT</td> <td class="code"><pre>'m/d/Y P'</pre></td> </tr> <tr> <td>CELERY_RESULT_BACKEND</td> <td class="code"><pre>'database'</pre></td> </tr> <tr> <td>PASSWORD_HASHERS</td> <td class="code"><pre>u'********************'</pre></td> </tr> <tr> <td>FILE_UPLOAD_MAX_MEMORY_SIZE</td> <td class="code"><pre>2621440</pre></td> </tr> <tr> <td>TINYMCE_DEFAULT_CONFIG</td> <td class="code"><pre>{'content_css': '/m/default/media/style/tinymce/content.css', | |
'convert_urls': False, | |
'force_br_newlines': True, | |
'force_p_newlines': False, | |
'forced_root_block': '', | |
'height': '250', | |
'mode': 'textareas', | |
'oninit': 'TinyMCE.onInitHook', | |
'plugins': 'askbot_imageuploader,askbot_attachment', | |
'theme': 'advanced', | |
'theme_advanced_buttons1': 'bold,italic,underline,|,bullist,numlist,|,undo,redo,|,link,unlink,askbot_imageuploader,askbot_attachment', | |
'theme_advanced_buttons2': '', | |
'theme_advanced_buttons3': '', | |
'theme_advanced_path': False, | |
'theme_advanced_resize_horizontal': False, | |
'theme_advanced_resizing': True, | |
'theme_advanced_statusbar_location': 'bottom', | |
'theme_advanced_toolbar_align': 'left', | |
'theme_advanced_toolbar_location': 'top', | |
'width': '730'}</pre></td> </tr> <tr> <td>ABSOLUTE_URL_OVERRIDES</td> <td class="code"><pre>{}</pre></td> </tr> <tr> <td>LANGUAGE_COOKIE_PATH</td> <td class="code"><pre>'/'</pre></td> </tr> <tr> <td>CACHE_MIDDLEWARE_SECONDS</td> <td class="code"><pre>600</pre></td> </tr> <tr> <td>CELERY_ALWAYS_EAGER</td> <td class="code"><pre>True</pre></td> </tr> <tr> <td>DATETIME_INPUT_FORMATS</td> <td class="code"><pre>('%Y-%m-%d %H:%M:%S', | |
'%Y-%m-%d %H:%M:%S.%f', | |
'%Y-%m-%d %H:%M', | |
'%Y-%m-%d', | |
'%m/%d/%Y %H:%M:%S', | |
'%m/%d/%Y %H:%M:%S.%f', | |
'%m/%d/%Y %H:%M', | |
'%m/%d/%Y', | |
'%m/%d/%y %H:%M:%S', | |
'%m/%d/%y %H:%M:%S.%f', | |
'%m/%d/%y %H:%M', | |
'%m/%d/%y')</pre></td> </tr> <tr> <td>EMAIL_HOST_USER</td> <td class="code"><pre>''</pre></td> </tr> <tr> <td>PROFANITIES_LIST</td> <td class="code"><pre>u'********************'</pre></td> </tr> </tbody> </table> </div> <div id="explanation"> <p> | |
You're seeing this error because you have <code>DEBUG = True</code> in your | |
Django settings file. Change that to <code>False</code>, and Django will | |
display a standard 500 page. | |
</p> </div> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment