Variables
Request Method: GET Request URL: http://0.0.0.0:8000/admin/polls/question/ Django Version: 1.8.3 Python Version: 2.7.6 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'polls') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware') I get the following errors
Exception Type: ProgrammingError at /admin/polls/question/ Exception Value: column polls_question.question_text does not exist LINE 1: SELECT "polls_question"."id", "polls_question"."question_tex... ^ Trakebask decided not to apply because He does not look nice. This error occurred while working with the API:
from polls.models import Poll, Choice Traceback (most recent call last): File "<console>", line 1, in <module> ImportError: can not import name Poll Over and over again I get these errors. Please tell me what could be wrong?
column polls_question.question_text does not exist- there is no such column; migrations performed?can not import name Poll- and how do we say what's wrong if you did notpolls.modelscontents ofpolls.models. There may not be such a model - BOPOH