Sfoglia il codice sorgente

Initialize TongquU project with backend and static assets

0225015 4 settimane fa
parent
commit
0d29350431
1 ha cambiato i file con 3 aggiunte e 4 eliminazioni
  1. 3 4
      .gitignore

+ 3 - 4
.gitignore

@@ -4,11 +4,10 @@ tongqu_backend_v2/__pycache__/
 tongqu_backend_v2/*.py[cod]
 tongqu_backend_v2/*$py.class
 tongqu_backend_v2/*.log
-tongqu_backend_v2/db.sqlite3
+tongqu_backend_v2/db.sqlite3 # 虽然我们用PostgreSQL,但以防万一
 tongqu_backend_v2/db.sqlite3-journal
-tongqu_backend_v2/staticfiles_collected/ # 我们之前配置的STATIC_ROOT
-tongqu_backend_v2/media/ # 如果media内容是动态生成的,通常也忽略
-
+tongqu_backend_v2/staticfiles_collected/ # 忽略 collectstatic 的目标目录
+tongqu_backend_v2/media/                 # 忽略用户上传的媒体文件
 # General Python
 .Python
 build/