Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

94
Views
Django todoApp coming problem in adding task

I am getting problems with added tasks. It shows MultiValueDictKeyError in my code.

Here is my source code -- https://github.com/Aliwahid17/todoApp

Please help me in solving the problem.

about 4 years ago · Santiago Gelvez
1 answers
Answer question

0

Your have not a good described question, the codebase and error message should be here, not on the repository, but i can answer.

problem is in index.html :

<input type="checkbox" name="checkedbox" id="{{todo.id}}" class="taskCheckbox" value="{{todo.id}}">

after that you try in view.py:

  checkedlist = request.POST["checkedbox"]

It is famous behavior for Checkbox: if your check box not "checked", browser don't send the 'checkedbox' key.

You are simply don't has in request key 'checkedbox', you can see it yourself in debugger before the ask. :)

about 4 years ago · Santiago Gelvez Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!