6👍
✅
The gitignore file needs to be named only .gitignore
without a django
in front of the dot.
You can find more information about ignoring files and possible patterns supported in the ProGit book on the official website: ProGit Chapter 2-2.
Source:stackexchange.com