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:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -2,6 +2,7 @@ ALLOWED_HOSTS
|
||||
threadchat/settings.py
|
||||
docker-compose.yaml
|
||||
docker-compose.yml
|
||||
db
|
||||
|
||||
### Django ###
|
||||
*.log
|
||||
@@ -12,6 +13,7 @@ local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
media
|
||||
static
|
||||
|
||||
# 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.
|
||||
|
||||
Reference in New Issue
Block a user