1๐
โ
-
Regarding the
ImproperlyConfigured
exception, Are you executing thefrom logins.models import *
command form raw python shell, or django shell ?Make sure you are starting the shell using
./manage.py shell
, and then executing the above command -
Regarding the
DoesNotExist
exception, it seems to be a problem with the login code. This exception normally occurs when a requested data does not exist in the table, and that situation is not handled in the code. It does not have to do anything with the table columns.Please paste the code behind /logins/ in the question for further comments.
๐คSunny Nanda
Source:stackexchange.com