摘要: https://www.cnblogs.com/randomlee/p/9752705.html pip install django-cors-headers==3.10.0 INSTALLED_APPS = [ ... 'corsheaders', ... ] MIDDLEWARE_CLASSE 阅读全文
posted @ 2022-02-15 16:50 CodeYaSuo 阅读(222) 评论(0) 推荐(0) 编辑
摘要: import shutil import os def del_file(filepath): try: del_list = os.listdir(filepath) except Exception as e: return for f in del_list: file_path = os.p 阅读全文
posted @ 2022-02-15 10:30 CodeYaSuo 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 当再出现游离的 HEAD 时,需要先对当前的分支,如 master 进行签出。 以后在进行添加代码内容时,先签出,然后再进行提交和推送。 阅读全文
posted @ 2022-02-15 10:26 CodeYaSuo 阅读(44) 评论(0) 推荐(0) 编辑