Answer the question
In order to leave comments, you need to log in
Django. Editable grid/table, components or layout from scratch?
Good day to all!
The essence of the question is that it is necessary to display data on the page with the possibility of editing, adding lines. Share your experience - who implemented this solution in what way? Did you use some component or write a template from scratch?
The engine is Django.
Thank you all in advance for your replies.
UPD: the table is simple - displaying records from the database, for example, a telephone directory (number, full name, email).
tasks - when you click on the field, it becomes available for editing, the "save" button appears. Clicking on which saves the record without reloading the page.
Answer the question
In order to leave comments, you need to log in
you can implement a simple API for adding an entity (according to your example, an entry in the phone book), and on the JS side, implement a regular AJAX request to the server. On saksessu add a line to the table and all. Unless, of course, we are talking about a simple table, and there is no desire to embed an additional battery in the project =)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question