Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6967067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T16:16:24+00:00 2026-05-27T16:16:24+00:00

i am doing a small project in django by using python. In that project,

  • 0

i am doing a small project in django by using python.

In that project, there is a table with list of pending task having columns: task_id,summary,description,due_date.

I have to give ‘edit’ button in each row so that one can edit the data of that particular row. But I am not able to identify the button click event in view page for the particular row.
Please somebody help me…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T16:16:25+00:00Added an answer on May 27, 2026 at 4:16 pm

    I’m assuming you’re not talking about browser click events since you’re tagging this with python and django only.

    You can identify which <input type="submit"> element was pressed by giving it a name.

    A user clicking on <input type="submit" value="edit" name="summary" /> will be identified by the presence of a summary key in request.POST

    # form snippet
    <input type="submit" value="Edit Summary" name="summary" />
    <input type="submit" value="Edit Due Date" name="due_date" />
    
    # view snippet
    if request.POST.get('summary'):
        print('user clicked summary')
    elif request.POST.get('due_date'):
        print('user clicked due date')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm doing a small project in Django by using Python. In that, I am
i doing a small project in django by using python. In that admin can
I have a small project I am doing in Python using web.py. It's a
I'm doing my first small project in Python(GAE), and there's no difficulty in operating
I have a small- to medium-size project that I am doing for my software
I have a client that I am doing a very small project for. His
I am doing a small reporting project that needs to read a lot of
i was doing a small weekend project, kind of a music player, in python
I am doing a small project using JPA. I need to insert the employee
While doing some small regex task I came upon this problem. I have a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.