Update views.py

Support for Mixin