add __pycache__ to gitignore
update settings.py for django 1.5