{"issue":{"milestone":null,"user":{"id":102847,"login":"keithj","url":"https://api.github.com/users/keithj","avatar_url":"https://secure.gravatar.com/avatar/e762b9893b974a133586fd133824b7eb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e762b9893b974a133586fd133824b7eb"},"created_at":"2011-12-16T18:33:51Z","title":"Spamming up/down votes causes server error","state":"open","updated_at":"2011-12-16T18:33:51Z","labels":[],"id":2582809,"html_url":"https://github.com/ialbert/biostar-central/issues/64","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"On this page : http://test.biostars.org/post/show/966/how-do-i-create-a-seqrecord-in-biopython/\r\n\r\n\r\n\r\n\r\nMultipleObjectsReturned at /vote/\r\n\r\nget() returned more than one Vote -- it returned 2! Lookup parameters were {'type': 1, 'author': <User: community>}\r\n\r\nRequest Method: \tPOST\r\nRequest URL: \thttp://test.biostars.org/vote/\r\nDjango Version: \t1.3.1\r\nException Type: \tMultipleObjectsReturned\r\nException Value: \t\r\n\r\nget() returned more than one Vote -- it returned 2! Lookup parameters were {'type': 1, 'author': <User: community>}\r\n\r\nException Location: \t/home/ialbert10/webapps/biostar_testing/lib/python2.7/django/db/models/query.py in get, line 351\r\nPython Executable: \t/usr/local/bin/python\r\nPython Version: \t2.7.1\r\nPython Path: \t\r\n\r\n['/home/ialbert10/webapps/biostar_testing',\r\n '/home/ialbert10/webapps/biostar_testing/lib/python2.7',\r\n '/usr/local/lib/python27.zip',\r\n '/usr/local/lib/python2.7',\r\n '/usr/local/lib/python2.7/plat-linux2',\r\n '/usr/local/lib/python2.7/lib-tk',\r\n '/usr/local/lib/python2.7/lib-old',\r\n '/usr/local/lib/python2.7/lib-dynload',\r\n '/usr/local/lib/python2.7/site-packages',\r\n '/usr/local/lib/python2.7/site-packages/PIL',\r\n '/home/ialbert10/webapps/biostar_testing/biostar-central',\r\n '/home/ialbert10/webapps/biostar_testing/biostar-central/conf',\r\n '/home/ialbert10/webapps/biostar_testing/biostar-central/libs',\r\n '/home/ialbert10/webapps/biostar_testing/biostar-central/libs/libraries.zip',\r\n '/home/ialbert10/webapps/biostar_testing/biostar-central/libs',\r\n '/home/ialbert10/webapps/biostar_testing/biostar-central/libs/libraries.zip']\r\n\r\nServer time: \tFri, 16 Dec 2011 12:30:29 -0600\r\nTraceback Switch to copy-and-paste view\r\n\r\n    * /home/ialbert10/webapps/biostar_testing/lib/python2.7/django/core/handlers/base.py in get_response\r\n       104.\r\n\r\n                                for middleware_method in self._view_middleware:\r\n\r\n       105.\r\n\r\n                                    response = middleware_method(request, callback, callback_args, callback_kwargs)\r\n\r\n       106.\r\n\r\n                                    if response:\r\n\r\n       107.\r\n\r\n                                        break\r\n\r\n       108.\r\n\r\n       109.\r\n\r\n                            if response is None:\r\n\r\n       110.\r\n\r\n                                try:\r\n\r\n       111.\r\n\r\n                                    response = callback(request, *callback_args, **callback_kwargs)\r\n\r\n            ...\r\n       112.\r\n\r\n                                except Exception, e:\r\n\r\n       113.\r\n\r\n                                    # If the view raised an exception, run it through exception\r\n\r\n       114.\r\n\r\n                                    # middleware, and if the exception middleware returns a\r\n\r\n       115.\r\n\r\n                                    # response, use that. Otherwise, reraise the exception.\r\n\r\n       116.\r\n\r\n                                    for middleware_method in self._exception_middleware:\r\n\r\n       117.\r\n\r\n                                        response = middleware_method(request, e)\r\n\r\n      ▶ Local vars\r\n      Variable \tValue\r\n      exceptions \t\r\n\r\n      <module 'django.core.exceptions' from '/home/ialbert10/webapps/biostar_testing/lib/python2.7/django/core/exceptions.pyc'>\r\n\r\n      e \t\r\n\r\n      MultipleObjectsReturned(\"get() returned more than one Vote -- it returned 2! Lookup parameters were {'type': 1, 'author': <User: community>}\",)\r\n\r\n      callback_args \t\r\n\r\n      ()\r\n\r\n      receivers \t\r\n\r\n      [(<function _rollback_on_exception at 0x89a8a3c>, None)]\r\n\r\n      middleware_method \t\r\n\r\n      <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x88156ec>>\r\n\r\n      self \t\r\n\r\n      <django.core.handlers.wsgi.WSGIHandler object at 0xaf03ac8c>\r\n\r\n      settings \t\r\n\r\n      <django.conf.LazySettings object at 0xaef2f9ac>\r\n\r\n      request \t\r\n\r\n      <WSGIRequest\r\n      GET:<QueryDict: {}>,\r\n      POST:<QueryDict: {u'post': [u'966'], u'type': [u'2']}>,\r\n      COOKIES:{'csrftoken': 'e0d9af9d4bd76d1b1c5cd4cde062f190',\r\n       'sessionid': 'c8e2c205a6911dc78800842ce72a98e6'},\r\n      META:{'CONTENT_LENGTH': '15',\r\n       'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',\r\n       'CSRF_COOKIE': 'e0d9af9d4bd76d1b1c5cd4cde062f190',\r\n       'DOCUMENT_ROOT': '/usr/local/apache2/htdocs',\r\n       'GATEWAY_INTERFACE': 'CGI/1.1',\r\n       'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',\r\n       'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\r\n       'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\r\n       'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',\r\n       'HTTP_CACHE_CONTROL': 'no-cache',\r\n       'HTTP_CONNECTION': 'close',\r\n       'HTTP_COOKIE': 'csrftoken=e0d9af9d4bd76d1b1c5cd4cde062f190; sessionid=c8e2c205a6911dc78800842ce72a98e6',\r\n       'HTTP_DNT': '1',\r\n       'HTTP_HOST': 'test.biostars.org',\r\n       'HTTP_PRAGMA': 'no-cache',\r\n       'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-GB; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24',\r\n       'HTTP_X_CSRFTOKEN': 'e0d9af9d4bd76d1b1c5cd4cde062f190',\r\n       'HTTP_X_FORWARDED_FOR': '78.143.195.139',\r\n       'HTTP_X_FORWARDED_HOST': 'test.biostars.org',\r\n       'HTTP_X_FORWARDED_SERVER': 'test.biostars.org',\r\n       'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',\r\n       'PATH_INFO': u'/vote/',\r\n       'PATH_TRANSLATED': '/home/ialbert10/webapps/biostar_testing/biostar-central/conf/biostar_test.wsgi/vote/',\r\n       'QUERY_STRING': '',\r\n       'REMOTE_ADDR': '127.0.0.1',\r\n       'REMOTE_PORT': '34859',\r\n       'REQUEST_METHOD': 'POST',\r\n       'REQUEST_URI': '/vote/',\r\n       'SCRIPT_FILENAME': '/home/ialbert10/webapps/biostar_testing/biostar-central/conf/biostar_test.wsgi',\r\n       'SCRIPT_NAME': u'',\r\n       'SERVER_ADDR': '127.0.0.1',\r\n       'SERVER_ADMIN': '[no address given]',\r\n       'SERVER_NAME': 'test.biostars.org',\r\n       'SERVER_PORT': '80',\r\n       'SERVER_PROTOCOL': 'HTTP/1.0',\r\n       'SERVER_SIGNATURE': '',\r\n       'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1',\r\n       'mod_wsgi.application_group': 'web192.webfaction.com|',\r\n       'mod_wsgi.callable_object': 'application',\r\n       'mod_wsgi.handler_script': '',\r\n       'mod_wsgi.input_chunked': '0',\r\n       'mod_wsgi.listener_host': '',\r\n       'mod_wsgi.listener_port': '46930',\r\n       'mod_wsgi.process_group': 'biostar_testing',\r\n       'mod_wsgi.request_handler': 'wsgi-script',\r\n       'mod_wsgi.script_reloading': '1',\r\n       'mod_wsgi.version': (3, 3),\r\n       'wsgi.errors': <mod_wsgi.Log object at 0x942a958>,\r\n       'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x9393410>,\r\n       'wsgi.input': <mod_wsgi.Input object at 0x942a818>,\r\n       'wsgi.multiprocess': True,\r\n       'wsgi.multithread': True,\r\n       'wsgi.run_once': False,\r\n       'wsgi.url_scheme': 'http',\r\n       'wsgi.version': (1, 1)}>\r\n\r\n      callback \t\r\n\r\n      <function vote at 0x93a64fc>\r\n\r\n      resolver \t\r\n\r\n      <RegexURLResolver main.urls (None:None) ^/>\r\n\r\n      urlresolvers \t\r\n\r\n      <module 'django.core.urlresolvers' from '/home/ialbert10/webapps/biostar_testing/lib/python2.7/django/core/urlresolvers.pyc'>\r\n\r\n      callback_kwargs \t\r\n\r\n      {}\r\n\r\n      response \t\r\n\r\n      None\r\n\r\n      urlconf \t\r\n\r\n      'main.urls'\r\n\r\n    * /home/ialbert10/webapps/biostar_testing/biostar-central/main/server/views.py in vote\r\n       342.\r\n\r\n                        return html.json_response({\r\n\r\n       343.\r\n\r\n                            'status':'success',\r\n\r\n       344.\r\n\r\n                            'msg':'%s removed' % old_vote.get_type_display()})\r\n\r\n       345.\r\n\r\n                    else:\r\n\r\n       346.\r\n\r\n                        vote = post.add_vote(author, type)\r\n\r\n       347.\r\n\r\n                        if type in models.OPPOSING_VOTES: \r\n\r\n       348.\r\n\r\n                            # Remove an opposing vote if it exists\r\n\r\n       349.\r\n\r\n                            post.remove_vote(author, models.OPPOSING_VOTES[type])\r\n\r\n            ...\r\n       350.\r\n\r\n                        return html.json_response({\r\n\r\n       351.\r\n\r\n                            'status':'success',\r\n\r\n       352.\r\n\r\n                            'msg':'%s added' % vote.get_type_display()})\r\n\r\n       353.\r\n\r\n                                \r\n\r\n       354.\r\n\r\n       355.\r\n\r\n                return html.json_response({'status':'error', 'msg':'POST method must be used'})\r\n\r\n      ▶ Local vars\r\n      Variable \tValue\r\n      author \t\r\n\r\n      <User: community>\r\n\r\n      request \t\r\n\r\n      <WSGIRequest\r\n      GET:<QueryDict: {}>,\r\n      POST:<QueryDict: {u'post': [u'966'], u'type': [u'2']}>,\r\n      COOKIES:{'csrftoken': 'e0d9af9d4bd76d1b1c5cd4cde062f190',\r\n       'sessionid': 'c8e2c205a6911dc78800842ce72a98e6'},\r\n      META:{'CONTENT_LENGTH': '15',\r\n       'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',\r\n       'CSRF_COOKIE': 'e0d9af9d4bd76d1b1c5cd4cde062f190',\r\n       'DOCUMENT_ROOT': '/usr/local/apache2/htdocs',\r\n       'GATEWAY_INTERFACE': 'CGI/1.1',\r\n       'HTTP_ACCEPT': 'application/json, text/javascript, */*; q=0.01',\r\n       'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',\r\n       'HTTP_ACCEPT_ENCODING': 'gzip,deflate',\r\n       'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5',\r\n       'HTTP_CACHE_CONTROL': 'no-cache',\r\n       'HTTP_CONNECTION': 'close',\r\n       'HTTP_COOKIE': 'csrftoken=e0d9af9d4bd76d1b1c5cd4cde062f190; sessionid=c8e2c205a6911dc78800842ce72a98e6',\r\n       'HTTP_DNT': '1',\r\n       'HTTP_HOST': 'test.biostars.org',\r\n       'HTTP_PRAGMA': 'no-cache',\r\n       'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-GB; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24',\r\n       'HTTP_X_CSRFTOKEN': 'e0d9af9d4bd76d1b1c5cd4cde062f190',\r\n       'HTTP_X_FORWARDED_FOR': '78.143.195.139',\r\n       'HTTP_X_FORWARDED_HOST': 'test.biostars.org',\r\n       'HTTP_X_FORWARDED_SERVER': 'test.biostars.org',\r\n       'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',\r\n       'PATH_INFO': u'/vote/',\r\n       'PATH_TRANSLATED': '/home/ialbert10/webapps/biostar_testing/biostar-central/conf/biostar_test.wsgi/vote/',\r\n       'QUERY_STRING': '',\r\n       'REMOTE_ADDR': '127.0.0.1',\r\n       'REMOTE_PORT': '34859',\r\n       'REQUEST_METHOD': 'POST',\r\n       'REQUEST_URI': '/vote/',\r\n       'SCRIPT_FILENAME': '/home/ialbert10/webapps/biostar_testing/biostar-central/conf/biostar_test.wsgi',\r\n       'SCRIPT_NAME': u'',\r\n       'SERVER_ADDR': '127.0.0.1',\r\n       'SERVER_ADMIN': '[no address given]',\r\n       'SERVER_NAME': 'test.biostars.org',\r\n       'SERVER_PORT': '80',\r\n       'SERVER_PROTOCOL': 'HTTP/1.0',\r\n       'SERVER_SIGNATURE': '',\r\n       'SERVER_SOFTWARE': 'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1',\r\n       'mod_wsgi.application_group': 'web192.webfaction.com|',\r\n       'mod_wsgi.callable_object': 'application',\r\n       'mod_wsgi.handler_script': '',\r\n       'mod_wsgi.input_chunked': '0',\r\n       'mod_wsgi.listener_host': '',\r\n       'mod_wsgi.listener_port': '46930',\r\n       'mod_wsgi.process_group': 'biostar_testing',\r\n       'mod_wsgi.request_handler': 'wsgi-script',\r\n       'mod_wsgi.script_reloading': '1',\r\n       'mod_wsgi.version': (3, 3),\r\n       'wsgi.errors': <mod_wsgi.Log object at 0x942a958>,\r\n       'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x9393410>,\r\n       'wsgi.input': <mod_wsgi.Input object at 0x942a818>,\r\n       'wsgi.multiprocess': True,\r\n       'wsgi.multithread': True,\r\n       'wsgi.run_once': False,\r\n       'wsgi.url_scheme': 'http',\r\n       'wsgi.version': (1, 1)}>\r\n\r\n      post_id \t\r\n\r\n      966\r\n\r\n      vote \t\r\n\r\n      <Vote: Vote object>\r\n\r\n      post \t\r\n\r\n      <Post: Post object>\r\n\r\n      type \t\r\n\r\n      2\r\n\r\n      old_vote \t\r\n\r\n      None\r\n\r\n    * /home/ialbert10/webapps/biostar_testing/biostar-central/main/server/models.py in remove_vote\r\n       241.\r\n\r\n                    vote = Vote(author=user, type=vote_type, post=self)\r\n\r\n       242.\r\n\r\n                    vote.save()\r\n\r\n       243.\r\n\r\n                    return vote\r\n\r\n       244.\r\n\r\n                    \r\n\r\n       245.\r\n\r\n                def remove_vote(self, user, vote_type):\r\n\r\n       246.\r\n\r\n                    ''' Removes a vote from a user of a certain type if it exists\r\n\r\n       247.\r\n\r\n                    Returns True if removed, False if it didn't exist'''\r\n\r\n       248.\r\n\r\n                    vote = self.get_vote(user, vote_type)\r\n\r\n            ...\r\n       249.\r\n\r\n                    if vote:\r\n\r\n       250.\r\n\r\n                        vote.delete()\r\n\r\n       251.\r\n\r\n                        return True\r\n\r\n       252.\r\n\r\n                    return False\r\n\r\n       253.\r\n\r\n                    \r\n\r\n       254.\r\n\r\n                def get_tag_names(self):\r\n\r\n      ▶ Local vars\r\n      Variable \tValue\r\n      vote_type \t\r\n\r\n      1\r\n\r\n      user \t\r\n\r\n      <User: community>\r\n\r\n      self \t\r\n\r\n      <Post: Post object>\r\n\r\n    * /home/ialbert10/webapps/biostar_testing/biostar-central/main/server/models.py in get_vote\r\n       229.\r\n\r\n                    else:\r\n\r\n       230.\r\n\r\n                        return 'open'\r\n\r\n       231.\r\n\r\n                    \r\n\r\n       232.\r\n\r\n                def get_vote(self, user, vote_type):\r\n\r\n       233.\r\n\r\n                    if user.is_anonymous():\r\n\r\n       234.\r\n\r\n                        return None\r\n\r\n       235.\r\n\r\n                    try:\r\n\r\n       236.\r\n\r\n                        return self.votes.get(author=user, type=vote_type)\r\n\r\n            ...\r\n       237.\r\n\r\n                    except Vote.DoesNotExist:\r\n\r\n       238.\r\n\r\n                        return None\r\n\r\n       239.\r\n\r\n                    \r\n\r\n       240.\r\n\r\n                def add_vote(self, user, vote_type):\r\n\r\n       241.\r\n\r\n                    vote = Vote(author=user, type=vote_type, post=self)\r\n\r\n       242.\r\n\r\n                    vote.save()\r\n\r\n      ▶ Local vars\r\n      Variable \tValue\r\n      vote_type \t\r\n\r\n      1\r\n\r\n      user \t\r\n\r\n      <User: community>\r\n\r\n      self \t\r\n\r\n      <Post: Post object>\r\n\r\n    * /home/ialbert10/webapps/biostar_testing/lib/python2.7/django/db/models/manager.py in get\r\n       125.\r\n\r\n                def distinct(self, *args, **kwargs):\r\n\r\n       126.\r\n\r\n                    return self.get_query_set().distinct(*args, **kwargs)\r\n\r\n       127.\r\n\r\n       128.\r\n\r\n                def extra(self, *args, **kwargs):\r\n\r\n       129.\r\n\r\n                    return self.get_query_set().extra(*args, **kwargs)\r\n\r\n       130.\r\n\r\n       131.\r\n\r\n                def get(self, *args, **kwargs):\r\n\r\n       132.\r\n\r\n                    return self.get_query_set().get(*args, **kwargs)\r\n\r\n            ...\r\n       133.\r\n\r\n       134.\r\n\r\n                def get_or_create(self, **kwargs):\r\n\r\n       135.\r\n\r\n                    return self.get_query_set().get_or_create(**kwargs)\r\n\r\n       136.\r\n\r\n       137.\r\n\r\n                def create(self, **kwargs):\r\n\r\n       138.\r\n\r\n                    return self.get_query_set().create(**kwargs)\r\n\r\n      ▶ Local vars\r\n      Variable \tValue\r\n      self \t\r\n\r\n      <django.db.models.fields.related.RelatedManager object at 0x95f47ac>\r\n\r\n      args \t\r\n\r\n      ()\r\n\r\n      kwargs \t\r\n\r\n      {'author': <User: community>, 'type': 1}\r\n\r\n    * /home/ialbert10/webapps/biostar_testing/lib/python2.7/django/db/models/query.py in get\r\n       344.\r\n\r\n                    num = len(clone)\r\n\r\n       345.\r\n\r\n                    if num == 1:\r\n\r\n       346.\r\n\r\n                        return clone._result_cache[0]\r\n\r\n       347.\r\n\r\n                    if not num:\r\n\r\n       348.\r\n\r\n                        raise self.model.DoesNotExist(\"%s matching query does not exist.\"\r\n\r\n       349.\r\n\r\n                                % self.model._meta.object_name)\r\n\r\n       350.\r\n\r\n                    raise self.model.MultipleObjectsReturned(\"get() returned more than one %s -- it returned %s! Lookup parameters were %s\"\r\n\r\n       351.\r\n\r\n                            % (self.model._meta.object_name, num, kwargs))\r\n\r\n            ...\r\n       352.\r\n\r\n       353.\r\n\r\n                def create(self, **kwargs):\r\n\r\n       354.\r\n\r\n                    \"\"\"\r\n\r\n       355.\r\n\r\n                    Creates a new object with the given kwargs, saving it to the database\r\n\r\n       356.\r\n\r\n                    and returning the created object.\r\n\r\n       357.\r\n\r\n                    \"\"\"\r\n\r\n      ▶ Local vars\r\n      Variable \tValue\r\n      clone \t\r\n\r\n      [<Vote: Vote object>, <Vote: Vote object>]\r\n\r\n      num \t\r\n\r\n      2\r\n\r\n      self \t\r\n\r\n      [<Vote: Vote object>, <Vote: Vote object>, <Vote: Vote object>, <Vote: Vote object>]\r\n\r\n      args \t\r\n\r\n      ()\r\n\r\n      kwargs \t\r\n\r\n      {'author': <User: community>, 'type': 1}\r\n\r\nEnvironment: Request Method: POST Request URL: http://test.biostars.org/vote/ Django Version: 1.3.1 Python Version: 2.7.1 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.markup', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'main.server', 'django_openid_auth', 'mptt'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'main.middleware.LastVisit', 'main.middleware.PermissionsMiddleware') Traceback: File \"/home/ialbert10/webapps/biostar_testing/lib/python2.7/django/core/handlers/base.py\" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File \"/home/ialbert10/webapps/biostar_testing/biostar-central/main/server/views.py\" in vote 349. post.remove_vote(author, models.OPPOSING_VOTES[type]) File \"/home/ialbert10/webapps/biostar_testing/biostar-central/main/server/models.py\" in remove_vote 248. vote = self.get_vote(user, vote_type) File \"/home/ialbert10/webapps/biostar_testing/biostar-central/main/server/models.py\" in get_vote 236. return self.votes.get(author=user, type=vote_type) File \"/home/ialbert10/webapps/biostar_testing/lib/python2.7/django/db/models/manager.py\" in get 132. return self.get_query_set().get(*args, **kwargs) File \"/home/ialbert10/webapps/biostar_testing/lib/python2.7/django/db/models/query.py\" in get 351. % (self.model._meta.object_name, num, kwargs)) Exception Type: MultipleObjectsReturned at /vote/ Exception Value: get() returned more than one Vote -- it returned 2! Lookup parameters were {'type': 1, 'author': <User: community>}\r\n\r\nRequest information\r\nGET\r\n\r\nNo GET data\r\nPOST\r\nVariable \tValue\r\npost \t\r\n\r\nu'966'\r\n\r\ntype \t\r\n\r\nu'2'\r\n\r\nFILES\r\n\r\nNo FILES data\r\nCOOKIES\r\nVariable \tValue\r\ncsrftoken \t\r\n\r\n'e0d9af9d4bd76d1b1c5cd4cde062f190'\r\n\r\nsessionid \t\r\n\r\n'c8e2c205a6911dc78800842ce72a98e6'\r\n\r\nMETA\r\nVariable \tValue\r\nmod_wsgi.listener_port \t\r\n\r\n'46930'\r\n\r\nHTTP_X_FORWARDED_SERVER \t\r\n\r\n'test.biostars.org'\r\n\r\nHTTP_COOKIE \t\r\n\r\n'csrftoken=e0d9af9d4bd76d1b1c5cd4cde062f190; sessionid=c8e2c205a6911dc78800842ce72a98e6'\r\n\r\nHTTP_X_FORWARDED_HOST \t\r\n\r\n'test.biostars.org'\r\n\r\nmod_wsgi.handler_script \t\r\n\r\n''\r\n\r\nSERVER_SOFTWARE \t\r\n\r\n'Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1'\r\n\r\nSCRIPT_NAME \t\r\n\r\nu''\r\n\r\nHTTP_X_CSRFTOKEN \t\r\n\r\n'e0d9af9d4bd76d1b1c5cd4cde062f190'\r\n\r\nSERVER_SIGNATURE \t\r\n\r\n''\r\n\r\nREQUEST_METHOD \t\r\n\r\n'POST'\r\n\r\nPATH_INFO \t\r\n\r\nu'/vote/'\r\n\r\nSERVER_PROTOCOL \t\r\n\r\n'HTTP/1.0'\r\n\r\nQUERY_STRING \t\r\n\r\n''\r\n\r\nCONTENT_LENGTH \t\r\n\r\n'15'\r\n\r\nHTTP_ACCEPT_CHARSET \t\r\n\r\n'ISO-8859-1,utf-8;q=0.7,*;q=0.7'\r\n\r\nHTTP_USER_AGENT \t\r\n\r\n'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.7; en-GB; rv:1.9.2.24) Gecko/20111103 Firefox/3.6.24'\r\n\r\nHTTP_CONNECTION \t\r\n\r\n'close'\r\n\r\nSERVER_NAME \t\r\n\r\n'test.biostars.org'\r\n\r\nREMOTE_ADDR \t\r\n\r\n'127.0.0.1'\r\n\r\nmod_wsgi.request_handler \t\r\n\r\n'wsgi-script'\r\n\r\nwsgi.url_scheme \t\r\n\r\n'http'\r\n\r\nPATH_TRANSLATED \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/conf/biostar_test.wsgi/vote/'\r\n\r\nSERVER_PORT \t\r\n\r\n'80'\r\n\r\nwsgi.multiprocess \t\r\n\r\nTrue\r\n\r\nmod_wsgi.input_chunked \t\r\n\r\n'0'\r\n\r\nSERVER_ADDR \t\r\n\r\n'127.0.0.1'\r\n\r\nDOCUMENT_ROOT \t\r\n\r\n'/usr/local/apache2/htdocs'\r\n\r\nmod_wsgi.process_group \t\r\n\r\n'biostar_testing'\r\n\r\nHTTP_PRAGMA \t\r\n\r\n'no-cache'\r\n\r\nHTTP_X_REQUESTED_WITH \t\r\n\r\n'XMLHttpRequest'\r\n\r\nSCRIPT_FILENAME \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/conf/biostar_test.wsgi'\r\n\r\nSERVER_ADMIN \t\r\n\r\n'[no address given]'\r\n\r\nwsgi.input \t\r\n\r\n<mod_wsgi.Input object at 0x942a818>\r\n\r\nHTTP_DNT \t\r\n\r\n'1'\r\n\r\nHTTP_HOST \t\r\n\r\n'test.biostars.org'\r\n\r\nwsgi.multithread \t\r\n\r\nTrue\r\n\r\nmod_wsgi.callable_object \t\r\n\r\n'application'\r\n\r\nHTTP_CACHE_CONTROL \t\r\n\r\n'no-cache'\r\n\r\nREQUEST_URI \t\r\n\r\n'/vote/'\r\n\r\nHTTP_ACCEPT \t\r\n\r\n'application/json, text/javascript, */*; q=0.01'\r\n\r\nmod_wsgi.listener_host \t\r\n\r\n''\r\n\r\nwsgi.version \t\r\n\r\n(1, 1)\r\n\r\nGATEWAY_INTERFACE \t\r\n\r\n'CGI/1.1'\r\n\r\nHTTP_X_FORWARDED_FOR \t\r\n\r\n'78.143.195.139'\r\n\r\nwsgi.errors \t\r\n\r\n<mod_wsgi.Log object at 0x942a958>\r\n\r\nREMOTE_PORT \t\r\n\r\n'34859'\r\n\r\nHTTP_ACCEPT_LANGUAGE \t\r\n\r\n'en-gb,en;q=0.5'\r\n\r\nmod_wsgi.version \t\r\n\r\n(3, 3)\r\n\r\nwsgi.run_once \t\r\n\r\nFalse\r\n\r\nCONTENT_TYPE \t\r\n\r\n'application/x-www-form-urlencoded; charset=UTF-8'\r\n\r\nmod_wsgi.application_group \t\r\n\r\n'web192.webfaction.com|'\r\n\r\nmod_wsgi.script_reloading \t\r\n\r\n'1'\r\n\r\nwsgi.file_wrapper \t\r\n\r\n'*** MISSING ***'\r\n\r\nCSRF_COOKIE \t\r\n\r\n'e0d9af9d4bd76d1b1c5cd4cde062f190'\r\n\r\nHTTP_ACCEPT_ENCODING \t\r\n\r\n'gzip,deflate'\r\n\r\nSettings\r\nUsing settings module pg_testing\r\nSetting \tValue\r\nYEAR_MONTH_FORMAT \t\r\n\r\n'F Y'\r\n\r\nUSE_L10N \t\r\n\r\nTrue\r\n\r\nTIME_ZONE \t\r\n\r\n'America/Chicago'\r\n\r\nLANGUAGE_CODE \t\r\n\r\n'en-us'\r\n\r\nROOT_URLCONF \t\r\n\r\n'main.urls'\r\n\r\nMANAGERS \t\r\n\r\n(('Istvan Albert', 'istvan.albert@gmail.com'),)\r\n\r\nDEFAULT_CHARSET \t\r\n\r\n'utf-8'\r\n\r\nSTATIC_ROOT \t\r\n\r\n'/home/ialbert10/webapps/static_testing'\r\n\r\nTEST_DATABASE_CHARSET \t\r\n\r\nNone\r\n\r\nUSE_THOUSAND_SEPARATOR \t\r\n\r\nFalse\r\n\r\nMESSAGE_STORAGE \t\r\n\r\n'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'\r\n\r\nDATABASE_HOST \t\r\n\r\n''\r\n\r\nEMAIL_SUBJECT_PREFIX \t\r\n\r\n'[Django] '\r\n\r\nSEND_BROKEN_LINK_EMAILS \t\r\n\r\nFalse\r\n\r\nURL_VALIDATOR_USER_AGENT \t\r\n\r\n'Django/1.3.1 (http://www.djangoproject.com)'\r\n\r\nSTATICFILES_FINDERS \t\r\n\r\n('django.contrib.staticfiles.finders.FileSystemFinder',\r\n 'django.contrib.staticfiles.finders.AppDirectoriesFinder')\r\n\r\nSESSION_COOKIE_DOMAIN \t\r\n\r\nNone\r\n\r\nSESSION_COOKIE_NAME \t\r\n\r\n'sessionid'\r\n\r\nADMIN_FOR \t\r\n\r\n()\r\n\r\nTIME_INPUT_FORMATS \t\r\n\r\n('%H:%M:%S', '%H:%M')\r\n\r\nDATABASES \t\r\n\r\n{'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2',\r\n             'HOST': 'web192',\r\n             'NAME': 'ialbert10_biostar_test',\r\n             'OPTIONS': {},\r\n             'PASSWORD': '********************',\r\n             'PORT': '',\r\n             'TEST_CHARSET': None,\r\n             'TEST_COLLATION': None,\r\n             'TEST_MIRROR': None,\r\n             'TEST_NAME': None,\r\n             'TIME_ZONE': 'America/Chicago',\r\n             'USER': 'ialbert10_biostar_test'}}\r\n\r\nTEST_DATABASE_NAME \t\r\n\r\nNone\r\n\r\nFILE_UPLOAD_PERMISSIONS \t\r\n\r\nNone\r\n\r\nFILE_UPLOAD_HANDLERS \t\r\n\r\n('django.core.files.uploadhandler.MemoryFileUploadHandler',\r\n 'django.core.files.uploadhandler.TemporaryFileUploadHandler')\r\n\r\nDEFAULT_CONTENT_TYPE \t\r\n\r\n'text/html'\r\n\r\nAPPEND_SLASH \t\r\n\r\nTrue\r\n\r\nFIRST_DAY_OF_WEEK \t\r\n\r\n0\r\n\r\nDATABASE_ROUTERS \t\r\n\r\n[]\r\n\r\nWHOOSH_INDEX \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/main/db/index'\r\n\r\nSTATICFILES_STORAGE \t\r\n\r\n'django.contrib.staticfiles.storage.StaticFilesStorage'\r\n\r\nCACHES \t\r\n\r\n{'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache',\r\n             'LOCATION': 'unique-snowflake'}}\r\n\r\nDATABASE_DIR \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/main/db'\r\n\r\nTEMPLATE_DIR \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/main/templates'\r\n\r\nSERVER_EMAIL \t\r\n\r\n'root@localhost'\r\n\r\nSESSION_COOKIE_PATH \t\r\n\r\n'/'\r\n\r\nIGNORABLE_404_ENDS \t\r\n\r\n('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')\r\n\r\nMIDDLEWARE_CLASSES \t\r\n\r\n('django.middleware.common.CommonMiddleware',\r\n 'django.contrib.sessions.middleware.SessionMiddleware',\r\n 'django.middleware.csrf.CsrfViewMiddleware',\r\n 'django.contrib.auth.middleware.AuthenticationMiddleware',\r\n 'django.contrib.messages.middleware.MessageMiddleware',\r\n 'main.middleware.LastVisit',\r\n 'main.middleware.PermissionsMiddleware')\r\n\r\nUSE_I18N \t\r\n\r\nTrue\r\n\r\nALLOW_MIGRATION \t\r\n\r\nTrue\r\n\r\nSECRET_KEY \t\r\n\r\n'********************'\r\n\r\nLANGUAGE_COOKIE_NAME \t\r\n\r\n'django_language'\r\n\r\nFILE_UPLOAD_TEMP_DIR \t\r\n\r\nNone\r\n\r\nTRANSACTIONS_MANAGED \t\r\n\r\nFalse\r\n\r\nLOGGING_CONFIG \t\r\n\r\n'django.utils.log.dictConfig'\r\n\r\nTEMPLATE_LOADERS \t\r\n\r\n('django.template.loaders.filesystem.Loader',\r\n 'django.template.loaders.app_directories.Loader')\r\n\r\nNEWBIE_MAX_POSTS_PER_DAY \t\r\n\r\n3\r\n\r\nTEMPLATE_DEBUG \t\r\n\r\nTrue\r\n\r\nAUTHENTICATION_BACKENDS \t\r\n\r\n('django_openid_auth.auth.OpenIDBackend',\r\n 'django.contrib.auth.backends.ModelBackend')\r\n\r\nTEST_DATABASE_COLLATION \t\r\n\r\nNone\r\n\r\nFORCE_SCRIPT_NAME \t\r\n\r\nNone\r\n\r\nUSE_X_FORWARDED_HOST \t\r\n\r\nFalse\r\n\r\nSTATIC_DIR \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/main/static'\r\n\r\nSESSION_COOKIE_SECURE \t\r\n\r\nFalse\r\n\r\nHOME_DIR \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/main'\r\n\r\n__CURR_DIR \t\r\n\r\n'/home/ialbert10/webapps/biostar_testing/biostar-central/conf'\r\n\r\nCSRF_COOKIE_DOMAIN \t\r\n\r\nNone\r\n\r\nFILE_CHARSET \t\r\n\r\n'utf-8'\r\n\r\nDEBUG \t\r\n\r\nTrue\r\n\r\nSESSION_FILE_PATH \t\r\n\r\nNone\r\n\r\nDEFAULT_FILE_STORAGE \t\r\n\r\n'django.core.files.storage.FileSystemStorage'\r\n\r\nINSTALLED_APPS \t\r\n\r\n['django.contrib.auth',\r\n 'django.contrib.contenttypes',\r\n 'django.contrib.sessions',\r\n 'django.contrib.sites',\r\n 'django.contrib.messages',\r\n 'django.contrib.staticfiles',\r\n 'django.contrib.humanize',\r\n 'django.contrib.markup',\r\n 'django.contrib.messages',\r\n 'django.contrib.admin',\r\n 'django.contrib.admindocs',\r\n 'main.server',\r\n 'django_openid_auth',\r\n 'mptt']\r\n\r\nLANGUAGES \t\r\n\r\n(('ar', 'Arabic'),\r\n ('az', 'Azerbaijani'),\r\n ('bg', 'Bulgarian'),\r\n ('bn', 'Bengali'),\r\n ('bs', 'Bosnian'),\r\n ('ca', 'Catalan'),\r\n ('cs', 'Czech'),\r\n ('cy', 'Welsh'),\r\n ('da', 'Danish'),\r\n ('de', 'German'),\r\n ('el', 'Greek'),\r\n ('en', 'English'),\r\n ('en-gb', 'British English'),\r\n ('es', 'Spanish'),\r\n ('es-ar', 'Argentinian Spanish'),\r\n ('es-mx', 'Mexican Spanish'),\r\n ('es-ni', 'Nicaraguan Spanish'),\r\n ('et', 'Estonian'),\r\n ('eu', 'Basque'),\r\n ('fa', 'Persian'),\r\n ('fi', 'Finnish'),\r\n ('fr', 'French'),\r\n ('fy-nl', 'Frisian'),\r\n ('ga', 'Irish'),\r\n ('gl', 'Galician'),\r\n ('he', 'Hebrew'),\r\n ('hi', 'Hindi'),\r\n ('hr', 'Croatian'),\r\n ('hu', 'Hungarian'),\r\n ('id', 'Indonesian'),\r\n ('is', 'Icelandic'),\r\n ('it', 'Italian'),\r\n ('ja', 'Japanese'),\r\n ('ka', 'Georgian'),\r\n ('km', 'Khmer'),\r\n ('kn', 'Kannada'),\r\n ('ko', 'Korean'),\r\n ('lt', 'Lithuanian'),\r\n ('lv', 'Latvian'),\r\n ('mk', 'Macedonian'),\r\n ('ml', 'Malayalam'),\r\n ('mn', 'Mongolian'),\r\n ('nl', 'Dutch'),\r\n ('no', 'Norwegian'),\r\n ('nb', 'Norwegian Bokmal'),\r\n ('nn', 'Norwegian Nynorsk'),\r\n ('pa', 'Punjabi'),\r\n ('pl', 'Polish'),\r\n ('pt', 'Portuguese'),\r\n ('pt-br', 'Brazilian Portuguese'),\r\n ('ro', 'Romanian'),\r\n ('ru', 'Russian'),\r\n ('sk', 'Slovak'),\r\n ('sl', 'Slovenian'),\r\n ('sq', 'Albanian'),\r\n ('sr', 'Serbian'),\r\n ('sr-latn', 'Serbian Latin'),\r\n ('sv', 'Swedish'),\r\n ('ta', 'Tamil'),\r\n ('te', 'Telugu'),\r\n ('th', 'Thai'),\r\n ('tr', 'Turkish'),\r\n ('uk', 'Ukrainian'),\r\n ('ur', 'Urdu'),\r\n ('vi', 'Vietnamese'),\r\n ('zh-cn', 'Simplified Chinese'),\r\n ('zh-tw', 'Traditional Chinese'))\r\n\r\nDATABASE_ENGINE \t\r\n\r\n''\r\n\r\nDATABASE_NAME \t\r\n\r\n'ialbert10_biostar_test'\r\n\r\nCOMMENTS_FIRST_FEW \t\r\n\r\n0\r\n\r\nPREPEND_WWW \t\r\n\r\nFalse\r\n\r\nMINIMUM_REPUTATION \t\r\n\r\n0\r\n\r\nSESSION_COOKIE_HTTPONLY \t\r\n\r\nFalse\r\n\r\nDATABASE_PORT \t\r\n\r\n''\r\n\r\nDEBUG_PROPAGATE_EXCEPTIONS \t\r\n\r\nFalse\r\n\r\nOPENID_UPDATE_DETAILS_FROM_SREG \t\r\n\r\nTrue\r\n\r\nMONTH_DAY_FORMAT \t\r\n\r\n'F j'\r\n\r\nLOGIN_URL \t\r\n\r\n'/openid/login/'\r\n\r\nSESSION_EXPIRE_AT_BROWSER_CLOSE \t\r\n\r\nFalse\r\n\r\nPASSWORD_RESET_TIMEOUT_DAYS \t\r\n\r\n'********************'\r\n\r\nTIME_FORMAT \t\r\n\r\n'P'\r\n\r\nDATE_INPUT_FORMATS \t\r\n\r\n('%Y-%m-%d',\r\n '%m/%d/%Y',\r\n '%m/%d/%y',\r\n '%b %d %Y',\r\n '%b %d, %Y',\r\n '%d %b %Y',\r\n '%d %b, %Y',\r\n '%B %d %Y',\r\n '%B %d, %Y',\r\n '%d %B %Y',\r\n '%d %B, %Y')\r\n\r\nCSRF_COOKIE_NAME \t\r\n\r\n'csrftoken'\r\n\r\nEMAIL_HOST_PASSWORD \t\r\n\r\n'********************'\r\n\r\nAUTH_PROFILE_MODULE \t\r\n\r\n'server.UserProfile'\r\n\r\nCACHE_MIDDLEWARE_ALIAS \t\r\n\r\n'default'\r\n\r\nSESSION_SAVE_EVERY_REQUEST \t\r\n\r\nFalse\r\n\r\nADMIN_MEDIA_PREFIX \t\r\n\r\n'/static/admin/'\r\n\r\nNUMBER_GROUPING \t\r\n\r\n0\r\n\r\nSESSION_ENGINE \t\r\n\r\n'django.contrib.sessions.backends.db'\r\n\r\nCSRF_FAILURE_VIEW \t\r\n\r\n'django.views.csrf.csrf_failure'\r\n\r\nCOMMENTS_SKETCHY_USERS_GROUP \t\r\n\r\nNone\r\n\r\nLOGIN_REDIRECT_URL \t\r\n\r\n'/'\r\n\r\nLOGGING \t\r\n\r\n{'disable_existing_loggers': False,\r\n 'formatters': {'simple': {'format': '%(levelname)s\\t%(name)s\\t%(funcName)s\\t%(asctime)s \\t%(message)s'}},\r\n 'handlers': {'console': {'class': 'logging.StreamHandler',\r\n                          'formatter': 'simple',\r\n                          'level': 'DEBUG'}},\r\n 'loggers': {'main.server.auth': {'handlers': ['console'], 'level': 'INFO'},\r\n             'main.server.models': {'handlers': ['console'], 'level': 'INFO'},\r\n             'main.server.views': {'handlers': ['console'], 'level': 'INFO'}},\r\n 'version': 1}\r\n\r\nCACHE_MIDDLEWARE_KEY_PREFIX \t\r\n\r\n''\r\n\r\nSITE_ID \t\r\n\r\n1\r\n\r\nLOCALE_PATHS \t\r\n\r\n()\r\n\r\nTEMPLATE_STRING_IF_INVALID \t\r\n\r\n'*** MISSING ***'\r\n\r\nCOMMENTS_ALLOW_PROFANITIES \t\r\n\r\nFalse\r\n\r\nLOGOUT_URL \t\r\n\r\n'/accounts/logout/'\r\n\r\nEMAIL_USE_TLS \t\r\n\r\nFalse\r\n\r\nTEMPLATE_DIRS \t\r\n\r\n('/home/ialbert10/webapps/biostar_testing/biostar-central/main/templates',)\r\n\r\nFIXTURE_DIRS \t\r\n\r\n()\r\n\r\nEMAIL_HOST \t\r\n\r\n'localhost'\r\n\r\nDATE_FORMAT \t\r\n\r\n'N j, Y'\r\n\r\nMEDIA_ROOT \t\r\n\r\n'/media/'\r\n\r\nADMINS \t\r\n\r\n(('Istvan Albert', 'istvan.albert@gmail.com'),)\r\n\r\nFORMAT_MODULE_PATH \t\r\n\r\nNone\r\n\r\nDEFAULT_FROM_EMAIL \t\r\n\r\n'webmaster@localhost'\r\n\r\nTHOUSAND_SEPARATOR \t\r\n\r\n','\r\n\r\nSTATICFILES_DIRS \t\r\n\r\n('/home/ialbert10/webapps/biostar_testing/biostar-central/main/static',)\r\n\r\nMEDIA_URL \t\r\n\r\n'/home/ialbert10/webapps/static_testing'\r\n\r\nDATETIME_FORMAT \t\r\n\r\n'N j, Y, P'\r\n\r\nIGNORABLE_404_STARTS \t\r\n\r\n('/cgi-bin/', '/_vti_bin', '/_vti_inf')\r\n\r\nGIT_REVISION \t\r\n\r\n'unknown'\r\n\r\nDISALLOWED_USER_AGENTS \t\r\n\r\n()\r\n\r\nALLOWED_INCLUDE_ROOTS \t\r\n\r\n()\r\n\r\nDECIMAL_SEPARATOR \t\r\n\r\n'.'\r\n\r\nSHORT_DATE_FORMAT \t\r\n\r\n'm/d/Y'\r\n\r\nDATABASE_USER \t\r\n\r\n''\r\n\r\nTEST_RUNNER \t\r\n\r\n'server.tests.runner.BiostarTest'\r\n\r\nOPENID_CREATE_USERS \t\r\n\r\nTrue\r\n\r\nOPENID_USE_AS_ADMIN_LOGIN \t\r\n\r\nTrue\r\n\r\nFILE_UPLOAD_MAX_MEMORY_SIZE \t\r\n\r\n2621440\r\n\r\nEMAIL_BACKEND \t\r\n\r\n'django.core.mail.backends.smtp.EmailBackend'\r\n\r\nDEFAULT_TABLESPACE \t\r\n\r\n''\r\n\r\nTEMPLATE_CONTEXT_PROCESSORS \t\r\n\r\n('django.contrib.auth.context_processors.auth',\r\n 'django.core.context_processors.debug',\r\n 'django.core.context_processors.request',\r\n 'django.core.context_processors.static',\r\n 'django.contrib.messages.context_processors.messages',\r\n 'main.context.extras',\r\n 'main.context.popular_tags')\r\n\r\nA \t\r\n\r\n<main.settings.A instance at 0x94e168c>\r\n\r\nEXPORT_DIR \t\r\n\r\n'/home/ialbert10/webapps/static_testing'\r\n\r\nSESSION_COOKIE_AGE \t\r\n\r\n1209600\r\n\r\nSETTINGS_MODULE \t\r\n\r\n'pg_testing'\r\n\r\nUSE_ETAGS \t\r\n\r\nFalse\r\n\r\nLANGUAGES_BIDI \t\r\n\r\n('he', 'ar', 'fa')\r\n\r\nDEFAULT_INDEX_TABLESPACE \t\r\n\r\n''\r\n\r\nINTERNAL_IPS \t\r\n\r\n('127.0.0.1',)\r\n\r\nSTATIC_URL \t\r\n\r\n'/static/'\r\n\r\nEMAIL_PORT \t\r\n\r\n25\r\n\r\nSHORT_DATETIME_FORMAT \t\r\n\r\n'm/d/Y P'\r\n\r\nABSOLUTE_URL_OVERRIDES \t\r\n\r\n{}\r\n\r\nDATABASE_OPTIONS \t\r\n\r\n{}\r\n\r\nCACHE_MIDDLEWARE_SECONDS \t\r\n\r\n600\r\n\r\nBANNED_IPS \t\r\n\r\n()\r\n\r\nDATETIME_INPUT_FORMATS \t\r\n\r\n('%Y-%m-%d %H:%M:%S',\r\n '%Y-%m-%d %H:%M',\r\n '%Y-%m-%d',\r\n '%m/%d/%Y %H:%M:%S',\r\n '%m/%d/%Y %H:%M',\r\n '%m/%d/%Y',\r\n '%m/%d/%y %H:%M:%S',\r\n '%m/%d/%y %H:%M',\r\n '%m/%d/%y')\r\n\r\nDATABASE_PASSWORD \t\r\n\r\n'********************'\r\n\r\nCOMMENTS_MODERATORS_GROUP \t\r\n\r\nNone\r\n\r\nPROFANITIES_LIST \t\r\n\r\n'********************'\r\n\r\nEMAIL_HOST_USER \t\r\n\r\n''\r\n\r\nCOMMENTS_BANNED_USERS_GROUP \t\r\n\r\nNone","number":64,"url":"https://api.github.com/repos/ialbert/biostar-central/issues/64","comments":0,"assignee":null},"action":"opened"}