Skip to content

Commit

Permalink
feat: 新增python 笔记
Browse files Browse the repository at this point in the history
  • Loading branch information
TigerZH committed Mar 20, 2022
1 parent 0d70911 commit 79d953d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/log/跨境电商.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Python

### Django rest framework

```shell
# 当有增量的model修改或者删除的时候 先删除编译缓存文件
find . -path "*/migrations/*.py" -not -name "__init__.py" -delete
find . -path "*/migrations/*.pyc" -delete
#重新生成 makemigrations
python manage.py makemigrations
python manage.py migrate
#

```



0 comments on commit 79d953d

Please sign in to comment.