fix bug in index
remove render
add DEBUG in settings
update .gitignore, ignore local_settings.py
fix import of local_settings