Reputation: 364
So I want to start a project with django2 and I want to know what kind of doc I can ignore when push them to github.
Upvotes: 0
Views: 380
Reputation: 1070
You can checkout gitignore.io for an extensive list of files you can ignore in Django. This list is probably too broad for (most) projects to start with, so you can remove the entries that don't seem relevant at all.
Upvotes: 2
Reputation: 140
On a fresh new project it'd be wise to ignore the database and nothing else. Then it depends on what other tools you're using. For example if you use coverage, it may be a good idea to ignore its files, and your .gitignore would look like:
# SQLite
db.sqlite3
# coverage
htmlcov/**
.coverage
Upvotes: 2