Django editing in place

I would like to display a list of records from my database, and then for each record have two fields that the user can edit, without having to redirect them to another page for editing. How can I do it?

+3
source share
2 answers

Create a template for your page that contains HTML for the list, edit fields and submit button. You can use existing administration templates for guidance. Define a view function that processes the message and updates the database.

+4
source

, , . , .

+4

Source: https://habr.com/ru/post/1712076/


All Articles