I used this function to save data in Mysql
form.save()
Now i want to send the row back so that i can dynamically update the Table and append the row at Bottom. How can i retrieve that
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
If you save data to MySQL using
form.save()so you probably useModelForm.So ModelForm save method returns the instance of Model (row):
More on this: https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#the-save-method