Re: Django render a DynamoDB JSON into a HTML table

2020-04-19 Thread Daniel Pedrajas Pineda
Here the solution: https://stackoverflow.com/questions/61285947/django-render-a-dynamodb-json-into-a-html-table Thank you to https://stackoverflow.com/users/6460856/swetank-poddar View.py: def history(request): dynamodb_resource('dynamodb') history_table = dynamodb_reso

Django render a DynamoDB JSON into a HTML table

2020-04-18 Thread Daniel Pedrajas Pineda
I'm try to use a Django page as front-end using some AWS DynamoDB tables as back-end. To do so, I use boto3 library and it gets the data from the table correctly but I'm not able to parse the data into a HTML table. I have the following in views.py def history(request): itemsid = list()