Update views.py (ostrichtechnique's work)

A full funtional one ;-)