Should I be adding the Django migration files in the .gitignore file?
Having a bunch of migration files in git is messy. There is only one file in migration folder that you should not ignore. That file is init.py file, If you ignore it, python will no longer look for submodules inside the directory, so any attempts to import the modules will fail. So the question should be how to ignore all migration files but init.py? 
The solution is: 
Add '0*.py' to .gitignore files and it does the job perfectly. 
Hope this helps someone.
Should I be adding the Django migration files in the .gitignore file? 
I've recently been getting a lot of git issues due to migration conflicts and was wondering if I should be marking migration files as ignore. 
If so, how would I go about adding all of the migrations that I have in my apps, and adding them to the .gitignore file?