Fixed error with DetailView and added .gitignore file