Using the HTMS API to work with tabular-network database


3. Logical level HTMS usage examples for Poll database

Function-utility for the initial filling of the database from the JSON file

The function of forming a set of objects with polls (queryset for class based view - CBV polls)

The function of forming a set of objects with poll answers (queryset for CBV survey answers)

The function of forming a set of objects with the results of voting on a poll (queryset for CBV)

Function for recording the voting result in the database (called via the URL from the voting form)

We hope that readers will appreciate the simplicity and naturalness of working with data in HTMS!