Re: [openwisp] Enable API for config_config_templates table

2019-12-20 Thread Amit Goyal
ok thanks Federico ! I will look into this On Friday, December 20, 2019 at 2:40:35 PM UTC+5:30, Federico Capoano wrote: > > Hi Amit, > > Templates have a many2many relationship to config. The intermediate table > which keeps track of how many config objects a template is assigned to does > not

Re: [openwisp] Enable API for config_config_templates table

2019-12-20 Thread Federico Capoano
Hi Amit, Templates have a many2many relationship to config. The intermediate table which keeps track of how many config objects a template is assigned to does not have a model defined, because in most cases it's not needed and it's handled automatically by django, except some special cases in

[openwisp] Enable API for config_config_templates table

2019-12-20 Thread Amit Goyal
Hi Federico I want to enable API for config_config_template table but I could not find any config_config_template model which can be used in urls.py . I was checking in */usr/local/lib/python3.6/site-packages/openwisp_controller/config/models.py *but there is no class for this table . even