Fixed views, models and urls
deleted autosave files and corrected detail.html