So I have a Django project that doesn\'t use a database (the \'DATABASES\' setting is commented out). I chose to use Django as there\'s a chance I will need the database fun
I'm not sure why I started to get this error, it involved an upgrade though. I just deleted all the sessions and after logging back in all was well.
# from the shell but equivalent sql would work fine too from django.contrib.sessions.models import Session Session.objects.all().delete()