Hello team after new kobo update
i used to add filed in sector but after new update even after rename and restart it is not showing
please share where we can add extra sector label
/srv/src/kpi/kobo/static_lists.py
Hello team after new kobo update
i used to add filed in sector but after new update even after rename and restart it is not showing
please share where we can add extra sector label
/srv/src/kpi/kobo/static_lists.py
please assist when you have time ,i used to do changes of sector but now it is not reflecting
@Mdkhamru, linking your with @ks_1 @stephenoduor
please guide
Hi @Mdkhamru…
Yes static_lists.py
is the correct file for it. Did you build the containers after making the changes?
Hello @ks_1
earlier after changing values just restarted docker it used to reflect
please guide how make reflect for existing docker
Run python3 run.py -cf up -d --build kpi
after changing sector and run below command
python3 run.py -cf up -d --build kpi
even did restart
it does not work have try your end after latest update in old kobo update it is working but not on new
please check your end once and let me know solution
thanks for your time and support
please i did build kpi no changes for existing env
It’s difficult to diagnose without looking at your code and environment…
Hello @ks_1
is the sector rename worked for you if yes
what was the steps taken for existing setup
like last time you guide us and it worked but my problem now the code been updated and @jnm team did some changes so my below steps are not working
rename
/srv/src/kpi/kobo/static_lists.py
I think the DEFAULTS
are only used on a fresh install, and after that, you need to log into https://your-kpi-instance/admin/ as a superuser and click “Config” underneath the “CONSTANCE” heading. Then, you will see a field called SECTOR_CHOICES
where you can configure these.
In fact, you should now not need to modify static_lists.py
ever again to change sectors; just use the Django admin interface as described above.
thanks alot