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?

Closed due to the fact that off-topic participants aleksandr barakin , BOPOH , Alexander Petrov , Mirdin , Peter Olson August 13 '15 at 1:31 .

  • Most likely, this question does not correspond to the subject of Stack Overflow in Russian, according to the rules described in the certificate .
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • Try to write more detailed questions. Explain exactly what you see the problem, how to reproduce it, what you want to get as a result, etc. - Nicolas Chabanovsky
  • one
    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 not polls.models contents of polls.models . There may not be such a model - BOPOH

0