views.py has pictures hook