cleanup views/actions.py