restored files and corrected views.py again