[Answer]-Django: Matching query does not exist and django.core.exceptions.ImproperlyConfigured

1๐Ÿ‘

โœ…

  1. Regarding the ImproperlyConfigured exception, Are you executing the from 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

  2. 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

Leave a comment