Once again changed exception in the models.py file