views.py type casting for msolo