Hi, all! Want to ask about a table with data from a model (like Django). So that the visitor can make changes to the table fields without reloading the page. The description of the framework shows several options for developing such a solution in WAGTAIL
But I cant achive managed to generate table data based on the Django model and possibility for user edit. That is, I can manually enter values in the cells in the admin panel. But in the custom view, there is no such possibility at all.Try to use something like that:
class Mapping(models.Model): map_code = models.OneToOneField('Map', models.DO_NOTHING, db_column='curr_map_code', primary_key=True) date_begin = models.DateField() class Meta: managed = True db_table = 'MAPPING' class HomePage(Page): body = StreamField( [ ('Mapping',TableBlock(table_options=new_table_options) ], null=True, blank = True, use_json_field=True, ) content_panels = Page.content_panels + [ FieldPanel('body'), ]Please let me know which option is possible or may be something else. Thanks in advance!