Standard .gitignore fixes
Django 1.4 compatibility
PEP 8