Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-189

Caught OperationFailure while rendering: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)]) failed: db assertion failure

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      windows XP+python2.5+Django1.2.3+pymongo-1.9+mod_python-3.3.1+hmarr-mongoengine-v0.4-0-g6998936.zip

      TemplateSyntaxError at /polls/

      Caught OperationFailure while rendering: command SON([('count', u'post'), ('query',

      {'_types': 'Post'}

      ), ('fields', None)]) failed: db assertion failure

      Request Method: GET
      Request URL: http://127.0.0.1/polls/
      Django Version: 1.2.3
      Exception Type: TemplateSyntaxError
      Exception Value:

      Caught OperationFailure while rendering: command SON([('count', u'post'), ('query',

      {'_types': 'Post'}

      ), ('fields', None)]) failed: db assertion failure

      Exception Location: C:\Python25\Lib\site-packages\pymongo\helpers.py in _check_command_response, line 119
      Python Executable: D:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe
      Python Version: 2.5.0
      Python Path: ['C:/Python25', 'D:/wamp/apps/', 'D:/wamp/apps/mysite', '/django', 'C:/Python25/Lib/site-packages', 'C:\\Python25\\lib\\site-packages\\django_cms-2.0.2-py2.5.egg', 'C:\\Python25\\lib\\site-packages\\mongoengine-0.4-py2.5.egg', 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\$PWD', 'C:\\Python25\\python25.zip', 'C:\\Python25\\DLLs', 'C:\\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\\lib-tk', 'D:\\Program Files\\Apache Software Foundation\\Apache2.2\\bin', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-packages\\win32', 'C:\\Python25\\lib\\site-packages\\win32\\lib', 'C:\\Python25\\lib\\site-packages\\Pythonwin']
      Server time: Thu, 25 Nov 2010 15:29:27 +0800
      Template error

      In template d:\www\django\templates\polls\index.html, error at line 1
      Caught OperationFailure while rendering: command SON([('count', u'post'), ('query',

      {'_types': 'Post'}

      ), ('fields', None)]) failed: db assertion failure
      1

      {% if latest_poll_list %}
      2 <ul>
      3 {% for post in latest_poll_list %}
      4 <li><a href="/polls/{{ post.title }}/">{{ post.title }}</a></li>
      5 {% endfor %}
      6 </ul>
      7 {% else %}
      8 <p>No post are available.</p>
      9 {% endif %}
      10
      Traceback Switch to copy-and-paste view

      * C:\Python25\Lib\site-packages\django\core\handlers\base.py in get_response
      93. # Apply view middleware
      94. for middleware_method in self._view_middleware:
      95. response = middleware_method(request, callback, callback_args, callback_kwargs)
      96. if response:
      97. return response
      98.
      99. try:
      100. response = callback(request, *callback_args, **callback_kwargs) ...
      101. except Exception, e:
      102. # If the view raised an exception, run it through exception
      103. # middleware, and if the exception middleware returns a
      104. # response, use that. Otherwise, reraise the exception.
      105. for middleware_method in self._exception_middleware:
      106. response = middleware_method(request, e)
      ? Local vars
      Variable Value
      callback
      <function index at 0x02CB0CF0>
      callback_args
      ()
      callback_kwargs
      {}
      e
      TemplateSyntaxError(u"Caught OperationFailure while rendering: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)]) failed: db assertion failure",)
      exceptions
      <module 'django.core.exceptions' from 'C:/Python25/Lib/site-packages\django\core\exceptions.pyc'>
      middleware_method
      <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x02DA22D0>>
      receivers
      [(<function _rollback_on_exception at 0x027FF8B0>, None)]
      request
      <ModPythonRequest path:/polls/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '240365db7ff7aa84529afdf9b78472e3'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0, 'CONTENT_TYPE': None, 'CSRF_COOKIE': '240365db7ff7aa84529afdf9b78472e3', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=240365db7ff7aa84529afdf9b78472e3', 'HTTP_HOST': '127.0.0.1', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)', 'PATH_INFO': u'/polls/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': '/mysite', 'SERVER_NAME': 'localhost', 'SERVER_PORT': 80, 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'mod_python'}>
      resolver
      <RegexURLResolver urls (None:None) ^/>
      response
      None
      self
      <django.core.handlers.modpython.ModPythonHandler object at 0x02D96F30>
      settings
      <django.conf.LazySettings object at 0x024FD8B0>
      urlconf
      'urls'
      urlresolvers
      <module 'django.core.urlresolvers' from 'C:/Python25/Lib/site-packages\django\core\urlresolvers.pyc'>
      * D:\Work\Python\mysite\mysite\polls\views.py in index
      12. def index(request):
      13. #latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5]
      14. latest_poll_list = Post.objects()
      15. t = loader.get_template('polls/index.html')
      16. c = Context({ 17. 'latest_poll_list': latest_poll_list, 18. })
      19. return HttpResponse(t.render(c)) ...
      20.
      21.
      ? Local vars
      Variable Value
      c
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      latest_poll_list
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      request
      <ModPythonRequest path:/polls/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'csrftoken': '240365db7ff7aa84529afdf9b78472e3'}, META:{'AUTH_TYPE': None, 'CONTENT_LENGTH': 0, 'CONTENT_TYPE': None, 'CSRF_COOKIE': '240365db7ff7aa84529afdf9b78472e3', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'csrftoken=240365db7ff7aa84529afdf9b78472e3', 'HTTP_HOST': '127.0.0.1', 'HTTP_KEEP_ALIVE': '115', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)', 'PATH_INFO': u'/polls/', 'PATH_TRANSLATED': None, 'QUERY_STRING': None, 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_HOST': None, 'REMOTE_IDENT': None, 'REMOTE_USER': None, 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': '/mysite', 'SERVER_NAME': 'localhost', 'SERVER_PORT': 80, 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'mod_python'}>
      t
      <django.template.Template object at 0x02E04E50>
      * C:\Python25\Lib\site-packages\django\template_init_.py in render
      166. def _render(self, context):
      167. return self.nodelist.render(context)
      168.
      169. def render(self, context):
      170. "Display stage – can be called many times"
      171. context.render_context.push()
      172. try:
      173. return self._render(context) ...
      174. finally:
      175. context.render_context.pop()
      176.
      177. def compile_string(template_string, origin):
      178. "Compiles template_string into NodeList ready for rendering"
      179. if settings.TEMPLATE_DEBUG:
      ? Local vars
      Variable Value
      context
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      self
      <django.template.Template object at 0x02E04E50>
      * C:\Python25\Lib\site-packages\django\template_init_.py in _render
      160.
      161. def _iter_(self):
      162. for node in self.nodelist:
      163. for subnode in node:
      164. yield subnode
      165.
      166. def _render(self, context):
      167. return self.nodelist.render(context) ...
      168.
      169. def render(self, context):
      170. "Display stage – can be called many times"
      171. context.render_context.push()
      172. try:
      173. return self._render(context)
      ? Local vars
      Variable Value
      context
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      self
      <django.template.Template object at 0x02E04E50>
      * C:\Python25\Lib\site-packages\django\template_init_.py in render
      789. # extend_nodelist().
      790. contains_nontext = False
      791.
      792. def render(self, context):
      793. bits = []
      794. for node in self:
      795. if isinstance(node, Node):
      796. bits.append(self.render_node(node, context)) ...
      797. else:
      798. bits.append(node)
      799. return mark_safe(''.join([force_unicode(b) for b in bits]))
      800.
      801. def get_nodes_by_type(self, nodetype):
      802. "Return a list of all nodes of the given type"
      ? Local vars
      Variable Value
      bits
      []
      context
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      node
      <If node>
      self
      [<If node>, <Text Node: ' '>]
      * C:\Python25\Lib\site-packages\django\template\debug.py in render_node
      65. def compile_function_error(self, token, e):
      66. if not hasattr(e, 'source'):
      67. e.source = token.source
      68.
      69. class DebugNodeList(NodeList):
      70. def render_node(self, node, context):
      71. try:
      72. result = node.render(context) ...
      73. except TemplateSyntaxError, e:
      74. if not hasattr(e, 'source'):
      75. e.source = node.source
      76. raise
      77. except Exception, e:
      78. from sys import exc_info
      ? Local vars
      Variable Value
      context
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      e
      OperationFailure(u"command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)]) failed: db assertion failure",)
      exc_info
      <built-in function exc_info>
      node
      <If node>
      self
      [<If node>, <Text Node: ' '>]
      wrapped
      TemplateSyntaxError(u"Caught OperationFailure while rendering: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)]) failed: db assertion failure",)
      * C:\Python25\Lib\site-packages\django\template\defaulttags.py in render
      250.
      251. def render(self, context):
      252. try:
      253. var = self.var.eval(context)
      254. except VariableDoesNotExist:
      255. var = None
      256.
      257. if var: ...
      258. return self.nodelist_true.render(context)
      259. else:
      260. return self.nodelist_false.render(context)
      261.
      262. class RegroupNode(Node):
      263. def _init_(self, target, expression, var_name):
      ? Local vars
      Variable Value
      context
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      self
      <If node>
      var
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      * build\bdist.win32\egg\mongoengine\queryset.py in _len_
      661. """Count the selected elements in the query.
      662. """
      663. if self._limit == 0:
      664. return 0
      665. return self._cursor.count(with_limit_and_skip=True)
      666.
      667. def _len_(self):
      668. return self.count() ...
      669.
      670. def map_reduce(self, map_f, reduce_f, finalize_f=None, limit=None,
      671. scope=None, keep_temp=False):
      672. """Perform a map/reduce query using the current query spec
      673. and ordering. While ``map_reduce`` respects ``QuerySet`` chaining,
      674. it must be the last call made, as it does not return a maleable
      ? Local vars
      Variable Value
      self
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      * build\bdist.win32\egg\mongoengine\queryset.py in count
      658. self._cursor.rewind()
      659.
      660. def count(self):
      661. """Count the selected elements in the query.
      662. """
      663. if self._limit == 0:
      664. return 0
      665. return self._cursor.count(with_limit_and_skip=True) ...
      666.
      667. def _len_(self):
      668. return self.count()
      669.
      670. def map_reduce(self, map_f, reduce_f, finalize_f=None, limit=None,
      671. scope=None, keep_temp=False):
      ? Local vars
      Variable Value
      self
      Error in formatting: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('limit', 21), ('fields', None)]) failed: db assertion failure
      * C:\Python25\Lib\site-packages\pymongo\cursor.py in count
      403. if self.__limit:
      404. command["limit"] = self.__limit
      405. if self.__skip:
      406. command["skip"] = self.__skip
      407.
      408. r = self._collection.database.command("count", self._collection.name,
      409. allowable_errors=["ns missing"],
      410. **command) ...
      411. if r.get("errmsg", "") == "ns missing":
      412. return 0
      413. return int(r["n"])
      414.
      415. def distinct(self, key):
      416. """Get a list of distinct values for `key` among all documents
      ? Local vars
      Variable Value
      command
      {'fields': None, 'query': {'_types': 'Post'}}
      self
      <pymongo.cursor.Cursor object at 0x02E04FF0>
      with_limit_and_skip
      True
      * C:\Python25\Lib\site-packages\pymongo\database.py in command
      286. result = self["$cmd"].find_one(command,
      287. _must_use_master=True,
      288. _is_command=True)
      289.
      290. if check:
      291. msg = "command %r failed: %%s" % command
      292. helpers._check_command_response(result, self.connection.disconnect,
      293. msg, allowable_errors) ...
      294.
      295. return result
      296.
      297. def collection_names(self):
      298. """Get a list of all the collection names in this database.
      299. """
      ? Local vars
      Variable Value
      allowable_errors
      ['ns missing']
      check
      True
      command
      SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)])
      kwargs
      {'fields': None, 'query': {'_types': 'Post'}}
      msg
      "command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)]) failed: %s"
      result
      {u'assertion': u'unauthorized for db [foo] lock type: -1\n', u'errmsg': u'db assertion failure', u'ok': 0.0}
      self
      Database(Connection('8.8.8.62', 27017), u'foo')
      value
      u'post'
      * C:\Python25\Lib\site-packages\pymongo\helpers.py in _check_command_response
      112. if not response["ok"]:
      113. if "wtimeout" in response and response["wtimeout"]:
      114. raise TimeoutError(msg % response["errmsg"])
      115. if not response["errmsg"] in allowable_errors:
      116. if response["errmsg"] == "not master":
      117. reset()
      118. raise AutoReconnect("not master")
      119. raise OperationFailure(msg % response["errmsg"]) ...
      120.
      121.
      122. def _password_digest(username, password):
      123. """Get a password digest to use for authentication.
      124. """
      125. if not isinstance(password, basestring):
      ? Local vars
      Variable Value
      allowable_errors
      ['ns missing']
      msg
      "command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)]) failed: %s"
      reset
      <bound method Connection.disconnect of Connection('8.8.8.62', 27017)>
      response
      {u'assertion': u'unauthorized for db [foo] lock type: -1\n', u'errmsg': u'db assertion failure', u'ok': 0.0}

      Environment: Request Method: GET Request URL: http://127.0.0.1/polls/ Django Version: 1.2.3 Python Version: 2.5.0 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'polls', 'virus'] 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') Template error: In template d:\www\django\templates\polls\index.html, error at line 1 Caught OperationFailure while rendering: command SON([('count', u'post'), ('query', {'_types': 'Post'}), ('fields', None)]) failed: db assertion failure 1 : {% if latest_poll_list %}

      2 : <ul> 3 :

      {% for post in latest_poll_list %}

      4 : <li><a href="/polls/{{ post.title }}/">{{ post.title }}</a></li> 5 :

      {% endfor %}

      6 : </ul> 7 :

      {% else %}

      8 : <p>No post are available.</p> 9 :

      {% endif %}

      10 : Traceback: File "C:\Python25\Lib\site-packages\django\core\handlers\base.py" in get_response 100. response = callback(request, *callback_args, **callback_kwargs) File "D:\Work\Python\mysite\mysite\polls\views.py" in index 19. return HttpResponse(t.render(c)) File "C:\Python25\Lib\site-packages\django\template_init.py" in render 173. return self._render(context) File "C:\Python25\Lib\site-packages\django\template__init.py" in _render 167. return self.nodelist.render(context) File "C:\Python25\Lib\site-packages\django\template__init.py" in render 796. bits.append(self.render_node(node, context)) File "C:\Python25\Lib\site-packages\django\template\debug.py" in render_node 72. result = node.render(context) File "C:\Python25\Lib\site-packages\django\template\defaulttags.py" in render 257. if var: File "build\bdist.win32\egg\mongoengine\queryset.py" in __len_ 668. return self.count() File "build\bdist.win32\egg\mongoengine\queryset.py" in count 665. return self._cursor.count(with_limit_and_skip=True) File "C:\Python25\Lib\site-packages\pymongo\cursor.py" in count 410. **command) File "C:\Python25\Lib\site-packages\pymongo\database.py" in command 293. msg, allowable_errors) File "C:\Python25\Lib\site-packages\pymongo\helpers.py" in _check_command_response 119. raise OperationFailure(msg % response["errmsg"]) Exception Type: TemplateSyntaxError at /polls/ Exception Value: Caught OperationFailure while rendering: command SON([('count', u'post'), ('query',

      {'_types': 'Post'}

      ), ('fields', None)]) failed: db assertion failure

      Request information
      GET

      No GET data
      POST

      No POST data
      FILES

      No FILES data
      COOKIES
      Variable Value
      csrftoken
      '240365db7ff7aa84529afdf9b78472e3'
      META
      Variable Value
      AUTH_TYPE
      None
      CONTENT_LENGTH
      0
      CONTENT_TYPE
      None
      CSRF_COOKIE
      '240365db7ff7aa84529afdf9b78472e3'
      GATEWAY_INTERFACE
      'CGI/1.1'
      HTTP_ACCEPT
      'text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8'
      HTTP_ACCEPT_CHARSET
      'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
      HTTP_ACCEPT_ENCODING
      'gzip,deflate'
      HTTP_ACCEPT_LANGUAGE
      'en-us,en;q=0.5'
      HTTP_CONNECTION
      'keep-alive'
      HTTP_COOKIE
      'csrftoken=240365db7ff7aa84529afdf9b78472e3'
      HTTP_HOST
      '127.0.0.1'
      HTTP_KEEP_ALIVE
      '115'
      HTTP_USER_AGENT
      'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729)'
      PATH_INFO
      u'/polls/'
      PATH_TRANSLATED
      None
      QUERY_STRING
      None
      REMOTE_ADDR
      '127.0.0.1'
      REMOTE_HOST
      None
      REMOTE_IDENT
      None
      REMOTE_USER
      None
      REQUEST_METHOD
      'GET'
      SCRIPT_NAME
      '/mysite'
      SERVER_NAME
      'localhost'
      SERVER_PORT
      80
      SERVER_PROTOCOL
      'HTTP/1.1'
      SERVER_SOFTWARE
      'mod_python'
      Settings
      Using settings module settings
      Setting Value
      ABSOLUTE_URL_OVERRIDES
      {}
      ADMINS
      ()
      ADMIN_FOR
      ()
      ADMIN_MEDIA_PREFIX
      '/media/'
      ALLOWED_INCLUDE_ROOTS
      ()
      APPEND_SLASH
      True
      AUTHENTICATION_BACKENDS
      ('mongoengine.django.auth.MongoEngineBackend',)
      BANNED_IPS
      ()
      CACHE_BACKEND
      'locmem://'
      CACHE_MIDDLEWARE_KEY_PREFIX
      ''
      CACHE_MIDDLEWARE_SECONDS
      600
      COMMENTS_ALLOW_PROFANITIES
      False
      COMMENTS_BANNED_USERS_GROUP
      None
      COMMENTS_FIRST_FEW
      0
      COMMENTS_MODERATORS_GROUP
      None
      COMMENTS_SKETCHY_USERS_GROUP
      None
      CSRF_COOKIE_DOMAIN
      None
      CSRF_COOKIE_NAME
      'csrftoken'
      CSRF_FAILURE_VIEW
      'django.views.csrf.csrf_failure'
      DATABASES
      {'default': {'ENGINE': 'django.db.backends.dummy', 'HOST': '', 'NAME': '', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': ''}}
      DATABASE_ENGINE
      ''
      DATABASE_HOST
      ''
      DATABASE_NAME
      ''
      DATABASE_OPTIONS
      {}
      DATABASE_PASSWORD
      '********************'
      DATABASE_PORT
      ''
      DATABASE_ROUTERS
      []
      DATABASE_USER
      ''
      DATETIME_FORMAT
      'N j, Y, P'
      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')
      DATE_FORMAT
      'N j, Y'
      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')
      DEBUG
      True
      DEBUG_PROPAGATE_EXCEPTIONS
      False
      DECIMAL_SEPARATOR
      '.'
      DEFAULT_CHARSET
      'utf-8'
      DEFAULT_CONTENT_TYPE
      'text/html'
      DEFAULT_FILE_STORAGE
      'django.core.files.storage.FileSystemStorage'
      DEFAULT_FROM_EMAIL
      'webmaster@localhost'
      DEFAULT_INDEX_TABLESPACE
      ''
      DEFAULT_TABLESPACE
      ''
      DISALLOWED_USER_AGENTS
      ()
      EMAIL_BACKEND
      'django.core.mail.backends.smtp.EmailBackend'
      EMAIL_HOST
      'localhost'
      EMAIL_HOST_PASSWORD
      '********************'
      EMAIL_HOST_USER
      ''
      EMAIL_PORT
      25
      EMAIL_SUBJECT_PREFIX
      '[Django] '
      EMAIL_USE_TLS
      False
      FILE_CHARSET
      'utf-8'
      FILE_UPLOAD_HANDLERS
      ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
      FILE_UPLOAD_MAX_MEMORY_SIZE
      2621440
      FILE_UPLOAD_PERMISSIONS
      None
      FILE_UPLOAD_TEMP_DIR
      None
      FIRST_DAY_OF_WEEK
      0
      FIXTURE_DIRS
      ()
      FORCE_SCRIPT_NAME
      None
      FORMAT_MODULE_PATH
      None
      IGNORABLE_404_ENDS
      ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
      IGNORABLE_404_STARTS
      ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
      INSTALLED_APPS
      ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'polls', 'virus']
      INTERNAL_IPS
      ()
      LANGUAGES
      (('ar', 'Arabic'), ('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'), ('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'), ('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'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
      LANGUAGES_BIDI
      ('he', 'ar', 'fa')
      LANGUAGE_CODE
      'en-us'
      LANGUAGE_COOKIE_NAME
      'django_language'
      LOCALE_PATHS
      ()
      LOGIN_REDIRECT_URL
      '/accounts/profile/'
      LOGIN_URL
      '/accounts/login/'
      LOGOUT_URL
      '/accounts/logout/'
      MANAGERS
      ()
      MEDIA_ROOT
      ''
      MEDIA_URL
      ''
      MESSAGE_STORAGE
      'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
      MIDDLEWARE_CLASSES
      ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware')
      MONTH_DAY_FORMAT
      'F j'
      NUMBER_GROUPING
      0
      PASSWORD_RESET_TIMEOUT_DAYS
      '********************'
      PREPEND_WWW
      False
      PROFANITIES_LIST
      '********************'
      Q
      <class 'mongoengine.queryset.Q'>
      ROOT_URLCONF
      'urls'
      SECRET_KEY
      '********************'
      SEND_BROKEN_LINK_EMAILS
      False
      SERVER_EMAIL
      'root@localhost'
      SESSION_COOKIE_AGE
      1209600
      SESSION_COOKIE_DOMAIN
      None
      SESSION_COOKIE_NAME
      'sessionid'
      SESSION_COOKIE_PATH
      '/'
      SESSION_COOKIE_SECURE
      False
      SESSION_ENGINE
      'mongoengine.django.sessions'
      SESSION_EXPIRE_AT_BROWSER_CLOSE
      False
      SESSION_FILE_PATH
      None
      SESSION_SAVE_EVERY_REQUEST
      False
      SETTINGS_MODULE
      'settings'
      SHORT_DATETIME_FORMAT
      'm/d/Y P'
      SHORT_DATE_FORMAT
      'm/d/Y'
      SITE_ID
      1
      TEMPLATE_CONTEXT_PROCESSORS
      ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.contrib.messages.context_processors.messages')
      TEMPLATE_DEBUG
      True
      TEMPLATE_DIRS
      ('D:/www/django/templates',)
      TEMPLATE_LOADERS
      ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader')
      TEMPLATE_STRING_IF_INVALID
      ''
      TEST_DATABASE_CHARSET
      None
      TEST_DATABASE_COLLATION
      None
      TEST_DATABASE_NAME
      None
      TEST_RUNNER
      'django.test.simple.DjangoTestSuiteRunner'
      THOUSAND_SEPARATOR
      ','
      TIME_FORMAT
      'P'
      TIME_INPUT_FORMATS
      ('%H:%M:%S', '%H:%M')
      TIME_ZONE
      'America/Chicago'
      TRANSACTIONS_MANAGED
      False
      URL_VALIDATOR_USER_AGENT
      'Django/1.2.3 (http://www.djangoproject.com)'
      USE_ETAGS
      False
      USE_I18N
      True
      USE_L10N
      True
      USE_THOUSAND_SEPARATOR
      False
      YEAR_MONTH_FORMAT
      'F Y'

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            brucewei777 brucewei
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: