Fixes view.py / Adds app_name to view.