24👍
✅
I was facing the same problem.
- First, make sure that you don’t have any changes to commit;
- Edit or create your .gitignore and put the follow code:
*.log
*.pot
*.pyc
*/*/*/__pycache__/
*/*/__pycache__/
*/__pycache__/
- Save -> git add . -> git commit
- ‘Clean Git Hub Cache’ for your repo:
git rm -rf –cached .
git add .
- Commit and it’s done!
I hope that this can help you.
0👍
add these to your gitignore and try it will work
*.pyc
*/*/*/__pycache__/
*/*/__pycache__/
*/__pycache__/
- Global set up in django test framework?
- Django admin inline with custom queryset
- Django ForeignKey which does not require referential integrity?
- U'rest_framework' is not a registered namespace
- Wrong url with Django Sorl thumbnail with Amazon s3
- Django. Invalid keyword argument for this function. ManyToMany
- Determining Django Model Instance Types after a Query on a Base-class
- Invalid Django TIME_ZONE
Source:stackexchange.com