Google Calendar API stops Django from starting

前端 未结 2 1066
忘掉有多难
忘掉有多难 2021-02-20 05:58

I have a Django (1.9.1) project that was working just fine until I added the code provided by Google Calendar API documentation to one of my apps.

This code also works f

2条回答
  •  旧巷少年郎
    2021-02-20 06:54

    Replace:

    flags = argparse.ArgumentParser(parents=[tools.argparser]).parse_args()
    

    with

     flags = tools.argparser.parse_args([])
    

提交回复
热议问题