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

239
Views
How can django post multiple values at once?

If you create a code like above, create a value in index.html, and press the button to print only one value. How can I solve this problem?

    if request.method == 'POST':
        post = Post()
        post.yyyy = request.POST['yyyy']
        post.mm = request.POST['mm']
        post.dd = request.POST['dd']
        post.cookname = request.POST['cookname']
        post.save()
        global post_list
        post_list = {
            'yyyy':post.yyyy,
            'mm':post.mm,
            'dd':post.dd,
            'cookname':post.cookname
        }

        return redirect('index')
    else:
        post = Post.objects.all()
    return render(request, 'dncapp/index.html', {'post':post})```

about 4 years ago · Juan Pablo Isaza
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!