Merged view.py