Reorganize views.py import