framework by mongodb
                  
                  
                  
                  
                  
                  i get this error .... what do i do?
                  
                  
                      raise NotImplementedError(
                  
                  
                  NotImplementedError: Database objects do not implement truth value testing or bool(). Please compare with None instead: database is not None
                  
                  
                  
                  
                  
                  and 
                  
                  
                  
                  
                  
                  handlers.py", line 363, in client_is_modern
                  
                  
                      return self.environ['SERVER_PROTOCOL'].upper() != 'HTTP/0.9'
                  
                  
                             ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
                  
                  
                  TypeError: 'NoneType' object is not subscriptable
                  
                  
                  ----------------------------------------
                  
                  
                
It's self explanatory....read what it says, use google if you have no clue bout it (tho they've printed the solution as well)
Обсуждают сегодня