Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem I am talking about. #2

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aasutossh
Copy link

@aasutossh aasutossh commented Sep 19, 2020

POST the data to the /question in the follwing format:

{
  "body": "What is your name?",
  "answer_set": [
    {
      "body": "ABC",
      "accuracy": "20%"
    },
    {
      "body" : "DEF",
      "accuracy": "30%"
    }
  ]
}

You'll get error

IntegrityError at /question
NOT NULL constraint failed: forum_answer.accuracy_id

@aasutossh aasutossh mentioned this pull request Sep 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant