migrated base views.py
improved git ignore rules