I've added a new method to my model and deployed all the changes to python anywhere.
The problem is that now I can't access any page (error 500) that is generated with user data. I even can't delete a user from the admin (it gives me a 500 error).
I've checked the error log and get this for the new method I added:
jango.db.utils.OperationalError: no such column
I've tried to run python manage.py makemigrations and then I get this error:
from django.contrib.auth.views import LoginView, LogoutView ImportError: cannot import name 'LoginView'
What can I do to solve it?