how a views.py that actually works