Add db and static directories to .gitignore

* db directory in root usually holds production data and causes git to
  complain about not being able to read it
* static directory in root holds the collected static files which are
  regenerated/collected at build time

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-07-18 17:06:12 -07:00
parent c4f910c6a8
commit 77bc4bbfc9

2
.gitignore vendored
View File

@@ -2,6 +2,7 @@ ALLOWED_HOSTS
threadchat/settings.py threadchat/settings.py
docker-compose.yaml docker-compose.yaml
docker-compose.yml docker-compose.yml
db
### Django ### ### Django ###
*.log *.log
@@ -12,6 +13,7 @@ local_settings.py
db.sqlite3 db.sqlite3
db.sqlite3-journal db.sqlite3-journal
media media
static
# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/ # If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
# in your Git repository. Update and uncomment the following line accordingly. # in your Git repository. Update and uncomment the following line accordingly.