title: Creating a .gitignore file for a Django website
body: <p>I'm ready to push my existing Django project (which i've been running in a local environment) to a Bitbucket repository so I can run it on a public server. At the moment I feel like there's a lot of files created in local development that needs to be added to <code>.gitignore</code>. </p>
  
  <p>I found <a href="https://github.com/github/gitignore/blob/master/Python.gitignore" rel="noreferrer">this <code>.gitignore</code> file on github</a> however I still feel it's missing some things, for example it doesn't seem to remove files from each <code>migrations</code> folders. There's also a lot of stuff there that I don't know what they do - I understand not all of it is needed. Any advice is appreciated. </p>