Answer by Ciprian Tarta for Django - best way of storing data created on the...
You can store your data in a list of dictionaries:data = [ {"template_name": "RTR-01","device_name": "EDGE" }, {"template_name": "SW-01","device_name": "CORE" },]Then you will need to update the...
View ArticleAnswer by aumo for Django - best way of storing data created on the fly for a...
A list of dicts seems best suited:context = [ {'template_name': 'RTR-01','device': 'EDGE', }, {'template_name': 'RTR-02','device': 'EDGE', }, {'template_name': 'SW-01','device': 'CORE', },]You use...
View ArticleDjango - best way of storing data created on the fly for a view/template
i need to send some data to a template in the format oftemplate_name: RTR-01device_name: EDGEtemplte_name: RTR-02device_name: EDGEtemplate_name: SW-01device_name: COREand so on.i know i cant use a list...
View Article
More Pages to Explore .....