news app: split views.py