Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-05-16 04:43:09 -0500
Seen: 110 times
Last updated: May 16 '12
Should added comments bump question to the top of the recently active list?
'Commentator' badge seems broken
Don't post comment when pressing enter?
Can (should) notices of new comments appear on the front page?
Is it possible to upvote comments?
Is it possible to convert a answer into a comment or vice versa?
Posting more than 5 comments only works after posting additional one
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
Could you post an error message and tell which version of askbot you are using?
Evgeny ( 2012-05-16 07:52:57 -0500 )editIntegrityError at /post_comments/ null value in column "description" violates not-null constraintRequest Method: POST Request URL: http://ask.0to9to0.com/post_comments/ Django Version: 1.3.1 Exception Type: IntegrityError Exception Value: null value in column "description" violates not-null constraint Exception Location: /home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/db/models/query.py in get_or_create, line 393 Python Executable: /usr/bin/python Python Version: 2.7.1 Python Path: ['/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_threaded_multihost-1.4_1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/South-0.7.4-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/Coffin-0.3.6-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_recaptcha_works-0.3.4-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/markdown2-1.4.2-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/lamson-1.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/akismet-0.2.0-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/Jinja2-2.6-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_countries-1.0.5-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_kombu-0.9.2-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/html5lib-0.90-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_keyedcache-1.4_6-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_robots-0.8.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_celery-2.2.7-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/pystache-0.3.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/python_openid-2.2.5-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/oauth2-1.5.211-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/Unidecode-0.04.9-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_followit-0.0.3-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/python_daemon-1.6-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/nose-1.1.2-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/mock-1.0.0alpha1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/chardet-1.0.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/celery-2.2.7-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/django_picklefield-0.2.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/httplib2-0.7.4-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/lockfile-0.9.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/pyparsing-1.5.6-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/kombu-1.5.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/anyjson-0.3.1-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/python_dateutil-1.5-py2.7.egg', '/home/inultcom/webapps/ask/lib/python2.7/amqplib-1.0.2-py2.7.egg', '/home/inultcom/webapps/ask', '/home/inultcom/webapps/ask/myproject', '/home/inultcom/webapps/ask/lib/python2.7', '/home/inultcom/lib/python2.7/python_memcached-1.48-py2.7.egg', '/home/inultcom/lib/python2.7', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages/PIL', '/home/inultcom/webapps/ask', '/home/inultcom/webapps/ask/ask', '/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/deps'] Server time: Wed, 16 May 2012 11:40:20 -0500
Traceback Switch to copy-and-paste view /home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/core/handlers/base.py in get_response for middleware_method in self._view_middleware: response = middleware_method(request, callback, callback_args, callback_kwargs) if response: break
▶ Local vars Variable Value exceptions <module 'django.core.exceptions' from '/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/core/exceptions.pyc'> e IntegrityError('null value in column "description" violates not-null constraint\n',) callback_args () receivers [(<function _rollback_on_exception at 0x7fae04b4e7d0>, None)] middleware_method <bound method TransactionMiddleware.process_exception of <django.middleware.transaction.TransactionMiddleware object at 0x7fae04f87350>> self <django.core.handlers.wsgi.WSGIHandler object at 0x7fae044936d0> settings <django.conf.LazySettings object at 0x7fae040b5490> request <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'comment': [u'hehehehehehehehehewhehehhe'], u'post_id': [u'20'], u'post_type': [u'question']}>, COOKIES:{'__utma': '27771564.611401210.1335871357.1337170633.1337185925.36', '__utmb': '27771564.3.10.1337185499', '__utmc': '27771564', '__utmz': '27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'ask.0to9to0.com_csrf': 'b64896e8b1b9cdad270620060b18b4b0', 'askbot_visitor': 'False', 'learn.0to9to0.com_csrf': '1690493e86817892538c888ebce9cd91', 'sessionid': '0c90fc2b38a7f4059dc7a99c68a03abc'}, META:{'CONTENT_LENGTH': '64', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/json, text/javascript, /; q=0.01', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US, en', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'learn.0to9to0.com_csrf=1690493e86817892538c888ebce9cd91; sessionid=0c90fc2b38a7f4059dc7a99c68a03abc; askbot_visitor=False; ask.0to9to0.com_csrf=b64896e8b1b9cdad270620060b18b4b0; __utma=27771564.611401210.1335871357.1337170633.1337185925.36; __utmb=27771564.3.10.1337185499; __utmc=27771564; __utmz=27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'HTTP_HOST': 'ask.0to9to0.com', 'HTTP_REFERER': 'http://ask.0to9to0.com/question/20/how-to-delete-a-directory-and-all-its-file-by-ssh', 'HTTP_USER_AGENT': 'Opera/9.80 (X11; Linux zbov; U; en) Presto/2.10.254 Version/12.00', 'HTTP_X_FORWARDED_FOR': '106.78.122.146', 'HTTP_X_FORWARDED_HOST': 'ask.0to9to0.com', 'HTTP_X_FORWARDED_SERVER': 'ask.0to9to0.com', 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', 'PATH_INFO': u'/post_comments/', 'PATH_TRANSLATED': '/home/inultcom/webapps/ask/ask/django.wsgi/post_comments/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '51941', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/post_comments/', 'SCRIPT_FILENAME': '/home/inultcom/webapps/ask/ask/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'ask.0to9to0.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1', 'mod_wsgi.application_group': 'web321.webfaction.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '27517', 'mod_wsgi.process_group': 'ask', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7fae05f8c5b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fae05fc4120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fae05fbbdb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}> callback <function post_comments at 0x7fae0482f578> resolver <RegexURLResolver ask.urls (None:None) ^/> urlresolvers <module 'django.core.urlresolvers' from '/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/core/urlresolvers.pyc'> callback_kwargs {} response None urlconf 'ask.urls'
/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/views/decorators/csrf.py in wrapped_view
def csrf_response_exempt(view_func): """ Modifies a view function so that its response is exempt from the post-processing of the CSRF middleware. """ def wrapped_view(args, *kwargs): resp = view_func(args, *kwargs) ... resp.csrf_exempt = True return resp return wraps(view_func, assigned=available_attrs(view_func))(wrapped_view)
def csrf_view_exempt(view_func): """ ▶ Local vars Variable Value args (<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'comment': [u'hehehehehehehehehewhehehhe'], u'post_id': [u'20'], u'post_type': [u'question']}>, COOKIES:{'__utma': '27771564.611401210.1335871357.1337170633.1337185925.36', '__utmb': '27771564.3.10.1337185499', '__utmc': '27771564', '__utmz': '27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'ask.0to9to0.com_csrf': 'b64896e8b1b9cdad270620060b18b4b0', 'askbot_visitor': 'False', 'learn.0to9to0.com_csrf': '1690493e86817892538c888ebce9cd91', 'sessionid': '0c90fc2b38a7f4059dc7a99c68a03abc'}, META:{'CONTENT_LENGTH': '64', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/json, text/javascript, /; q=0.01', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US, en', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'learn.0to9to0.com_csrf=1690493e86817892538c888ebce9cd91; sessionid=0c90fc2b38a7f4059dc7a99c68a03abc; askbot_visitor=False; ask.0to9to0.com_csrf=b64896e8b1b9cdad270620060b18b4b0; __utma=27771564.611401210.1335871357.1337170633.1337185925.36; __utmb=27771564.3.10.1337185499; __utmc=27771564; __utmz=27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'HTTP_HOST': 'ask.0to9to0.com', 'HTTP_REFERER': 'http://ask.0to9to0.com/question/20/how-to-delete-a-directory-and-all-its-file-by-ssh', 'HTTP_USER_AGENT': 'Opera/9.80 (X11; Linux zbov; U; en) Presto/2.10.254 Version/12.00', 'HTTP_X_FORWARDED_FOR': '106.78.122.146', 'HTTP_X_FORWARDED_HOST': 'ask.0to9to0.com', 'HTTP_X_FORWARDED_SERVER': 'ask.0to9to0.com', 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', 'PATH_INFO': u'/post_comments/', 'PATH_TRANSLATED': '/home/inultcom/webapps/ask/ask/django.wsgi/post_comments/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '51941', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/post_comments/', 'SCRIPT_FILENAME': '/home/inultcom/webapps/ask/ask/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'ask.0to9to0.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1', 'mod_wsgi.application_group': 'web321.webfaction.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '27517', 'mod_wsgi.process_group': 'ask', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7fae05f8c5b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fae05fc4120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fae05fbbdb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>,) view_func <function post_comments at 0x7fae0482f410> kwargs {}
/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/views/decorators/csrf.py in wrapped_view """ Marks a view function as being exempt from CSRF view protection. """ # We could just do view_func.csrf_exempt = True, but decorators # are nicer if they don't have side-effects, so we return a new # function. def wrapped_view(args, *kwargs): return view_func(args, *kwargs) ... wrapped_view.csrf_exempt = True return wraps(view_func, assigned=available_attrs(view_func))(wrapped_view)
def csrf_exempt(view_func): """ Marks a view function as being exempt from the CSRF checks ▶ Local vars Variable Value args (<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'comment': [u'hehehehehehehehehewhehehhe'], u'post_id': [u'20'], u'post_type': [u'question']}>, COOKIES:{'__utma': '27771564.611401210.1335871357.1337170633.1337185925.36', '__utmb': '27771564.3.10.1337185499', '__utmc': '27771564', '__utmz': '27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'ask.0to9to0.com_csrf': 'b64896e8b1b9cdad270620060b18b4b0', 'askbot_visitor': 'False', 'learn.0to9to0.com_csrf': '1690493e86817892538c888ebce9cd91', 'sessionid': '0c90fc2b38a7f4059dc7a99c68a03abc'}, META:{'CONTENT_LENGTH': '64', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/json, text/javascript, /; q=0.01', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US, en', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'learn.0to9to0.com_csrf=1690493e86817892538c888ebce9cd91; sessionid=0c90fc2b38a7f4059dc7a99c68a03abc; askbot_visitor=False; ask.0to9to0.com_csrf=b64896e8b1b9cdad270620060b18b4b0; __utma=27771564.611401210.1335871357.1337170633.1337185925.36; __utmb=27771564.3.10.1337185499; __utmc=27771564; __utmz=27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'HTTP_HOST': 'ask.0to9to0.com', 'HTTP_REFERER': 'http://ask.0to9to0.com/question/20/how-to-delete-a-directory-and-all-its-file-by-ssh', 'HTTP_USER_AGENT': 'Opera/9.80 (X11; Linux zbov; U; en) Presto/2.10.254 Version/12.00', 'HTTP_X_FORWARDED_FOR': '106.78.122.146', 'HTTP_X_FORWARDED_HOST': 'ask.0to9to0.com', 'HTTP_X_FORWARDED_SERVER': 'ask.0to9to0.com', 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', 'PATH_INFO': u'/post_comments/', 'PATH_TRANSLATED': '/home/inultcom/webapps/ask/ask/django.wsgi/post_comments/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '51941', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/post_comments/', 'SCRIPT_FILENAME': '/home/inultcom/webapps/ask/ask/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'ask.0to9to0.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1', 'mod_wsgi.application_group': 'web321.webfaction.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '27517', 'mod_wsgi.process_group': 'ask', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7fae05f8c5b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fae05fc4120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fae05fbbdb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}>,) view_func <function post_comments at 0x7fae0482f500> kwargs {}
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/utils/decorators.py in wrapper spam_message, mimetype="application/json" ) else: request.user.message_set.create(message=spam_message) return HttpResponseRedirect(reverse('index'))
▶ Local vars Variable Value field 'comment' args () request <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'comment': [u'hehehehehehehehehewhehehhe'], u'post_id': [u'20'], u'post_type': [u'question']}>, COOKIES:{'__utma': '27771564.611401210.1335871357.1337170633.1337185925.36', '__utmb': '27771564.3.10.1337185499', '__utmc': '27771564', '__utmz': '27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'ask.0to9to0.com_csrf': 'b64896e8b1b9cdad270620060b18b4b0', 'askbot_visitor': 'False', 'learn.0to9to0.com_csrf': '1690493e86817892538c888ebce9cd91', 'sessionid': '0c90fc2b38a7f4059dc7a99c68a03abc'}, META:{'CONTENT_LENGTH': '64', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/json, text/javascript, /; q=0.01', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US, en', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'learn.0to9to0.com_csrf=1690493e86817892538c888ebce9cd91; sessionid=0c90fc2b38a7f4059dc7a99c68a03abc; askbot_visitor=False; ask.0to9to0.com_csrf=b64896e8b1b9cdad270620060b18b4b0; __utma=27771564.611401210.1335871357.1337170633.1337185925.36; __utmb=27771564.3.10.1337185499; __utmc=27771564; __utmz=27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'HTTP_HOST': 'ask.0to9to0.com', 'HTTP_REFERER': 'http://ask.0to9to0.com/question/20/how-to-delete-a-directory-and-all-its-file-by-ssh', 'HTTP_USER_AGENT': 'Opera/9.80 (X11; Linux zbov; U; en) Presto/2.10.254 Version/12.00', 'HTTP_X_FORWARDED_FOR': '106.78.122.146', 'HTTP_X_FORWARDED_HOST': 'ask.0to9to0.com', 'HTTP_X_FORWARDED_SERVER': 'ask.0to9to0.com', 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', 'PATH_INFO': u'/post_comments/', 'PATH_TRANSLATED': '/home/inultcom/webapps/ask/ask/django.wsgi/post_comments/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '51941', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/post_comments/', 'SCRIPT_FILENAME': '/home/inultcom/webapps/ask/ask/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'ask.0to9to0.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1', 'mod_wsgi.application_group': 'web321.webfaction.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '27517', 'mod_wsgi.process_group': 'ask', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7fae05f8c5b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fae05fc4120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fae05fbbdb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}> view_func <function post_comments at 0x7fae0482f488> kwargs {}
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/views/writers.py in post_comments try: if user.is_anonymous(): msg = _('Sorry, you appear to be logged out and ' 'cannot post comments. Please ' '<a href="%(sign_in_url)s">sign in</a>.') % \ {'sign_in_url': url_utils.get_login_url()} raise exceptions.PermissionDenied(msg) user.post_comment(parent_post=obj, body_text=request.POST.get('comment')) ... response = __generate_comments_json(obj, user) except exceptions.PermissionDenied, e: response = HttpResponseForbidden(unicode(e), mimetype="application/json")
▶ Local vars Variable Value request <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {u'comment': [u'hehehehehehehehehewhehehhe'], u'post_id': [u'20'], u'post_type': [u'question']}>, COOKIES:{'__utma': '27771564.611401210.1335871357.1337170633.1337185925.36', '__utmb': '27771564.3.10.1337185499', '__utmc': '27771564', '__utmz': '27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'ask.0to9to0.com_csrf': 'b64896e8b1b9cdad270620060b18b4b0', 'askbot_visitor': 'False', 'learn.0to9to0.com_csrf': '1690493e86817892538c888ebce9cd91', 'sessionid': '0c90fc2b38a7f4059dc7a99c68a03abc'}, META:{'CONTENT_LENGTH': '64', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/usr/local/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/json, text/javascript, /; q=0.01', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-US, en', 'HTTP_CONNECTION': 'close', 'HTTP_COOKIE': 'learn.0to9to0.com_csrf=1690493e86817892538c888ebce9cd91; sessionid=0c90fc2b38a7f4059dc7a99c68a03abc; askbot_visitor=False; ask.0to9to0.com_csrf=b64896e8b1b9cdad270620060b18b4b0; __utma=27771564.611401210.1335871357.1337170633.1337185925.36; __utmb=27771564.3.10.1337185499; __utmc=27771564; __utmz=27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content', 'HTTP_HOST': 'ask.0to9to0.com', 'HTTP_REFERER': 'http://ask.0to9to0.com/question/20/how-to-delete-a-directory-and-all-its-file-by-ssh', 'HTTP_USER_AGENT': 'Opera/9.80 (X11; Linux zbov; U; en) Presto/2.10.254 Version/12.00', 'HTTP_X_FORWARDED_FOR': '106.78.122.146', 'HTTP_X_FORWARDED_HOST': 'ask.0to9to0.com', 'HTTP_X_FORWARDED_SERVER': 'ask.0to9to0.com', 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest', 'PATH_INFO': u'/post_comments/', 'PATH_TRANSLATED': '/home/inultcom/webapps/ask/ask/django.wsgi/post_comments/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '51941', 'REQUEST_METHOD': 'POST', 'REQUEST_URI': '/post_comments/', 'SCRIPT_FILENAME': '/home/inultcom/webapps/ask/ask/django.wsgi', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'ask.0to9to0.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1', 'mod_wsgi.application_group': 'web321.webfaction.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '27517', 'mod_wsgi.process_group': 'ask', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'wsgi.errors': <mod_wsgi.Log object at 0x7fae05f8c5b0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fae05fc4120>, 'wsgi.input': <mod_wsgi.Input object at 0x7fae05fbbdb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}> post_type u'question' obj <Post: How to delete a directory and all its file by ssh ?> id u'20' user <User: Pramvir Rathee>
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/models/__init__.py in user_post_comment added_at = timestamp, ) parent_post.thread.invalidate_cached_data() award_badges_signal.send(None, event = 'post_comment', actor = self, context_object = comment, timestamp = timestamp ... ) return comment
def user_post_anonymous_askbot_content(user, session_key): """posts any posts added just before logging in the posts are identified by the session key, thus the second argument ▶ Local vars Variable Value comment <Post: hehehehehehehehehewhehehhe> timestamp datetime.datetime(2012, 5, 16, 11, 40, 20, 86547) self <User: Pramvir Rathee> parent_post <Post: How to delete a directory and all its file by ssh ?> body_text u'hehehehehehehehehewhehehhe'
/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/dispatch/dispatcher.py in send Returns a list of tuple pairs [(receiver, response), ... ]. """ responses = [] if not self.receivers: return responses
▶ Local vars Variable Value self <django.dispatch.dispatcher.Signal object at 0x7fae055825d0> named {'actor': <User: Pramvir Rathee>, 'context_object': <Post: hehehehehehehehehewhehehhe>, 'event': 'post_comment', 'timestamp': datetime.datetime(2012, 5, 16, 11, 40, 20, 86547)} sender None responses [] receiver <function award_badges at 0x7fae055836e0>
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/utils/decorators.py in decorated_func if there is no timestamp argument, then exception is raised """ @functools.wraps(func) def decorated_func(arg, *kwarg): timestamp = kwarg.get('timestamp', None) if timestamp is None: kwarg['timestamp'] = datetime.datetime.now() return func(arg, *kwarg) ... return decorated_func
def ajax_login_required(view_func): @functools.wraps(view_func) def wrap(request, args, *kwargs): ▶ Local vars Variable Value timestamp datetime.datetime(2012, 5, 16, 11, 40, 20, 86547) kwarg {'actor': <User: Pramvir Rathee>, 'context_object': <Post: hehehehehehehehehewhehehhe>, 'event': 'post_comment', 'sender': None, 'signal': <django.dispatch.dispatcher.Signal object at 0x7fae055825d0>, 'timestamp': datetime.datetime(2012, 5, 16, 11, 40, 20, 86547)} func <function award_badges at 0x7fae05583668> arg ()
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/models/badges.py in award_badges try: consider_badges = EVENTS_TO_BADGES[event] except KeyError: raise NotImplementedError('event "%s" is not implemented' % event)
award_badges_signal.connect(award_badges) ▶ Local vars Variable Value timestamp datetime.datetime(2012, 5, 16, 11, 40, 20, 86547) actor <User: Pramvir Rathee> context_object <Post: hehehehehehehehehewhehehhe> badge_instance <askbot.models.badges.Commentator object at 0x7fae05f9bc90> kwargs {'sender': None, 'signal': <django.dispatch.dispatcher.Signal object at 0x7fae055825d0>} badge <class 'askbot.models.badges.Commentator'> event 'post_comment' consider_badges (<class 'askbot.models.badges.Commentator'>,)
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/models/badges.py in consider_award ) % {'num_comments': askbot_settings.COMMENTATOR_BADGE_MIN_COMMENTS} )
class Taxonomist(Badge): """Stub badge""" def __init__(self): super(Taxonomist, self).__init__( ▶ Local vars Variable Value num_comments 10 self <askbot.models.badges.Commentator object at 0x7fae05f9bc90> context_object <Post: hehehehehehehehehewhehehhe> actor <User: Pramvir Rathee> timestamp datetime.datetime(2012, 5, 16, 11, 40, 20, 86547)
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/models/badges.py in award 'content_type': content_type, 'badge__slug': self.key, } #multiple badge is not re-awarded for the same post if Award.objects.filter(**filters).count() != 0: return False
▶ Local vars Variable Value timestamp datetime.datetime(2012, 5, 16, 11, 40, 20, 86547) self <askbot.models.badges.Commentator object at 0x7fae05f9bc90> recipient <User: Pramvir Rathee> context_object <Post: hehehehehehehehehewhehehhe>
/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/models/badges.py in get_stored_data self.name = name self.level = level self.description = description self.multiple = multiple self.css_class = const.BADGE_CSS_CLASSES[self.level]
▶ Local vars Variable Value self <askbot.models.badges.Commentator object at 0x7fae05f9bc90>
/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/db/models/manager.py in get_or_create def extra(self, args, *kwargs): return self.get_query_set().extra(args, *kwargs)
▶ Local vars Variable Value self <django.db.models.manager.Manager object at 0x7fae0523d2d0> kwargs {'slug': 'commentator'}
/home/inultcom/webapps/ask/lib/python2.7/Django-1.3.1-py2.7.egg/django/db/models/query.py in get_or_create transaction.savepoint_commit(sid, using=self.db) return obj, True except IntegrityError, e: transaction.savepoint_rollback(sid, using=self.db) try: return self.get(**lookup), False except self.model.DoesNotExist: raise e ...
▶ Local vars Variable Value obj <BadgeData: bronze: commentator> f <django.db.models.fields.PositiveIntegerField object at 0x7fae05236e10> kwargs {'slug': 'commentator'} k 'slug' sid 's140385489876736_x1' params {'slug': 'commentator'} defaults {} v 'commentator' e IntegrityError('null value in column "description" violates not-null constraint\n',) lookup {'slug': 'commentator'} self Error in formatting: u'alpha'
Request information GET
No GET data POSTVariable Value comment u'hehehehehehehehehewhehehhe' post_id u'20' post_type u'question'
FILES
No FILES data COOKIESVariable Value ask.0to9to0.com_csrf 'b64896e8b1b9cdad270620060b18b4b0' askbot_visitor 'False' __utmz '27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content' learn.0to9to0.com_csrf '1690493e86817892538c888ebce9cd91' sessionid '0c90fc2b38a7f4059dc7a99c68a03abc' __utma '27771564.611401210.1335871357.1337170633.1337185925.36' __utmb '27771564.3.10.1337185499' __utmc '27771564'
METAVariable Value mod_wsgi.listener_port '27517' HTTP_X_FORWARDED_SERVER 'ask.0to9to0.com' HTTP_REFERER 'http://ask.0to9to0.com/question/20/how-to-delete-a-directory-and-all-its-file-by-ssh' HTTP_X_FORWARDED_HOST 'ask.0to9to0.com' SERVER_SOFTWARE 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1' SCRIPT_NAME u'' mod_wsgi.handler_script '' SERVER_SIGNATURE '' REQUEST_METHOD 'POST' PATH_INFO u'/post_comments/' SERVER_PROTOCOL 'HTTP/1.0' QUERY_STRING '' CONTENT_LENGTH '64' HTTP_USER_AGENT 'Opera/9.80 (X11; Linux zbov; U; en) Presto/2.10.254 Version/12.00' HTTP_CONNECTION 'close' HTTP_COOKIE 'learn.0to9to0.com_csrf=1690493e86817892538c888ebce9cd91; sessionid=0c90fc2b38a7f4059dc7a99c68a03abc; askbot_visitor=False; ask.0to9to0.com_csrf=b64896e8b1b9cdad270620060b18b4b0; __utma=27771564.611401210.1335871357.1337170633.1337185925.36; __utmb=27771564.3.10.1337185499; __utmc=27771564; __utmz=27771564.1336116573.22.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=how%20to%20align%20adsense%20ads%20with%20content' SERVER_NAME 'ask.0to9to0.com' REMOTE_ADDR '127.0.0.1' mod_wsgi.request_handler 'wsgi-script' wsgi.url_scheme 'http' PATH_TRANSLATED '/home/inultcom/webapps/ask/ask/django.wsgi/post_comments/' SERVER_PORT '80' wsgi.multiprocess True mod_wsgi.input_chunked '0' SERVER_ADDR '127.0.0.1' DOCUMENT_ROOT '/usr/local/apache2/htdocs' mod_wsgi.process_group 'ask' HTTP_X_REQUESTED_WITH 'XMLHttpRequest' SCRIPT_FILENAME '/home/inultcom/webapps/ask/ask/django.wsgi' SERVER_ADMIN '[no address given]' wsgi.input <mod_wsgi.Input object at 0x7fae05fbbdb0> HTTP_HOST 'ask.0to9to0.com' wsgi.multithread False mod_wsgi.callable_object 'application' REQUEST_URI '/post_comments/' HTTP_ACCEPT 'application/json, text/javascript, /; q=0.01' mod_wsgi.listener_host '' wsgi.version (1, 1) GATEWAY_INTERFACE 'CGI/1.1' HTTP_X_FORWARDED_FOR '106.78.122.146' wsgi.errors <mod_wsgi.Log object at 0x7fae05f8c5b0> REMOTE_PORT '51941' HTTP_ACCEPT_LANGUAGE 'en-US, en' mod_wsgi.version (3, 3) wsgi.run_once False CONTENT_TYPE 'application/x-www-form-urlencoded' mod_wsgi.application_group 'web321.webfaction.com|' mod_wsgi.script_reloading '1' wsgi.file_wrapper '' HTTP_ACCEPT_ENCODING 'gzip, deflate'
Settings Using settings module ask.settingsSetting Value IMAP_PORT '143' USE_L10N False USE_THOUSAND_SEPARATOR False ASKBOT_MAX_UPLOAD_FILE_SIZE 1048576 LANGUAGE_CODE 'en' ROOT_URLCONF 'ask.urls' MANAGERS (('Pramvir Rathee', '0to9to0@gmail.com'),) IMAP_HOST_USER 'inultcom' DEFAULT_CHARSET 'utf-8' STATIC_ROOT '/home/inultcom/webapps/ask/ask/static' ASKBOT_USE_STACKEXCHANGE_URLS False LOG_FILENAME 'askbot.log' CACHE_MIDDLEWARE_ANONYMOUS_ONLY True MESSAGE_STORAGE 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' DATABASE_HOST '' IGNORABLE_404_STARTS ('/cgi-bin/', '/_vti_bin', '/_vti_inf') SEND_BROKEN_LINK_EMAILS False URL_VALIDATOR_USER_AGENT 'Django/1.3.1 (http://www.djangoproject.com)' STATICFILES_FINDERS ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') SESSION_COOKIE_DOMAIN None SESSION_COOKIE_NAME 'sessionid' COMMENTS_MODERATORS_GROUP None TIME_INPUT_FORMATS ('%H:%M:%S', '%H:%M') DATABASES {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'inultcom_ask', 'OPTIONS': {}, 'PASSWORD': '*****', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': 'inultcom_ask'}} TEMPLATE_DEBUG False FILE_UPLOAD_PERMISSIONS None FILE_UPLOAD_HANDLERS ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') DEFAULT_CONTENT_TYPE 'text/html' APPEND_SLASH True FIRST_DAY_OF_WEEK 0 DATABASE_ROUTERS [] YEAR_MONTH_FORMAT 'F Y' STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage' CACHES {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'unix:/home/inultcom/ask.sock'}} SERVER_EMAIL 'pramvir@ask.0to9to0.com' SESSION_COOKIE_PATH '/' IGNORABLE_404_ENDS ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') MIDDLEWARE_CLASSES ('django.contrib.sessions.middleware.SessionMiddleware', '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') USE_I18N True THOUSAND_SEPARATOR ',' SECRET_KEY '*****' LANGUAGE_COOKIE_NAME 'django_language' FILE_UPLOAD_TEMP_DIR '/home/inultcom/webapps/ask/ask/tmp' BROKER_TRANSPORT 'djkombu.transport.DatabaseTransport' TRANSACTIONS_MANAGED False LOGGING_CONFIG 'django.utils.log.dictConfig' TEMPLATE_LOADERS ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', 'askbot.skins.loaders.filesystem_load_template_source') ASKBOT_ROOT '/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot' ALLOW_UNICODE_SLUGS False CSRF_COOKIE_NAME 'ask.0to9to0.com_csrf' TEST_DATABASE_COLLATION None FORCE_SCRIPT_NAME None USE_X_FORWARDED_HOST False CELERY_ALWAYS_EAGER True SESSION_COOKIE_SECURE False CSRF_COOKIE_DOMAIN None FILE_CHARSET 'utf-8' DEBUG True CACHE_TIMEOUT 6000 SESSION_FILE_PATH None DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage' INSTALLED_APPS ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.sitemaps', 'askbot', 'askbot.deps.django_authopenid', 'south', 'askbot.deps.livesettings', 'keyedcache', 'robots', 'django_countries', 'djcelery', 'djkombu', 'followit'] LANGUAGES (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) DATABASE_ENGINE 'postgresql_psycopg2' DATABASE_NAME 'inultcom_ask' COMMENTS_FIRST_FEW 0 PREPEND_WWW False TEST_DATABASE_CHARSET None SESSION_COOKIE_HTTPONLY False DATABASE_PORT '' DEBUG_PROPAGATE_EXCEPTIONS False BROKER_BACKEND 'djkombu.transport.DatabaseTransport' ASKBOT_URL '' MONTH_DAY_FORMAT 'F j' LOGIN_URL '/account/signin/' SESSION_EXPIRE_AT_BROWSER_CLOSE False IMAP_USE_TLS False ADMIN_MEDIA_PREFIX '/m/admin/' TIME_FORMAT 'P' DATE_INPUT_FORMATS ('%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') AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend', 'askbot.deps.django_authopenid.backends.AuthBackend') EMAIL_HOST_PASSWORD '*****' IMAP_HOST_PASSWORD '*****' PASSWORD_RESET_TIMEOUT_DAYS '*****' CACHE_MIDDLEWARE_ALIAS 'default' SESSION_SAVE_EVERY_REQUEST False DOMAIN_NAME 'ask.0to9to0.com' NUMBER_GROUPING 0 SHORT_DATETIME_FORMAT 'm/d/Y P' SESSION_ENGINE 'django.contrib.sessions.backends.db' CSRF_FAILURE_VIEW 'django.views.csrf.csrf_failure' COMMENTS_SKETCHY_USERS_GROUP None LOGIN_REDIRECT_URL '' PROJECT_ROOT '/home/inultcom/webapps/ask/ask' ASKBOT_ALLOWED_UPLOAD_FILE_TYPES ('.jpg', '.jpeg', '.gif', '.bmp', '.png', '.tiff') DECIMAL_SEPARATOR '.' CACHE_MIDDLEWARE_KEY_PREFIX '' LOCALE_PATHS () TEMPLATE_STRING_IF_INVALID '' COMMENTS_ALLOW_PROFANITIES False LOGOUT_URL '/accounts/logout/' EMAIL_USE_TLS False TEMPLATE_DIRS () FIXTURE_DIRS () EMAIL_HOST 'smtp.webfaction.com' DATE_FORMAT 'N j, Y' MEDIA_ROOT '/home/inultcom/webapps/ask/ask/askbot/upfiles' ADMINS (('Pramvir Rathee', '0to9to0@gmail.com'),) FORMAT_MODULE_PATH None DEFAULT_FROM_EMAIL 'pramvir@ask.0to9to0.com' STATICFILES_DIRS ('/home/inultcom/webapps/ask/lib/python2.7/askbot-0.7.42-py2.7.egg/askbot/skins',) MEDIA_URL '/upfiles/' DATETIME_FORMAT 'N j, Y, P' EMAIL_SUBJECT_PREFIX 'ask.0to9to0' SITE_ID 1 DISALLOWED_USER_AGENTS () ALLOWED_INCLUDE_ROOTS () LOGGING {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} SHORT_DATE_FORMAT 'm/d/Y' DATABASE_USER 'inultcom_ask' TEST_DATABASE_NAME None IMAP_HOST 'smtp.webfaction.com' TEST_RUNNER 'django.test.simple.DjangoTestSuiteRunner' TIME_ZONE 'America/Chicago' FILE_UPLOAD_MAX_MEMORY_SIZE 2621440 EMAIL_BACKEND 'django.core.mail.backends.smtp.EmailBackend' DEFAULT_TABLESPACE '' TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.request', 'askbot.context.application_settings', 'askbot.user_messages.context_processors.user_messages', 'django.core.context_processors.auth', 'django.core.context_processors.csrf') SESSION_COOKIE_AGE 1209600 SETTINGS_MODULE 'ask.settings' USE_ETAGS False LANGUAGES_BIDI ('he', 'ar', 'fa') DEFAULT_INDEX_TABLESPACE '' INTERNAL_IPS ('127.0.0.1',) STATIC_URL '/m/' ASKBOT_TRANSLATE_URL True EMAIL_PORT '25' CACHE_PREFIX 'ask' CELERY_RESULT_BACKEND 'database' RECAPTCHA_USE_SSL True ABSOLUTE_URL_OVERRIDES {} DATABASE_OPTIONS {} CACHE_MIDDLEWARE_SECONDS 600 BANNED_IPS () DATETIME_INPUT_FORMATS ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') DATABASE_PASSWORD '*****' ADMIN_FOR () PROFANITIES_LIST '******' EMAIL_HOST_USER 'inultcom' COMMENTS_BANNED_USERS_GROUP None
Pramvir ( 2012-05-16 11:42:29 -0500 )editcommenting from other user accounts is working well
Pramvir ( 2012-05-16 11:45:35 -0500 )edit