django command fix and addition to git ignore file
compatible with Django 1.6