Fix import mist.io.model in views.py