Not able to store data in mongodb

后端 未结 0 1337
耶瑟儿~
耶瑟儿~ 2021-02-07 02:26

Function in views.py:

def addevent(request):
    client = MongoClient(\'localhost\', 27017)
    db_handle = client[\'event\']
    col = db_handle[\'library_event\         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题