models with error in the views.py