Hi!
Is there a “countries” model/table in Indico, that I can reference (foreign key) in my custom plugin’s Model?
Thanks
Hi!
Is there a “countries” model/table in Indico, that I can reference (foreign key) in my custom plugin’s Model?
Thanks
No, countries are coming from the pycountry library. Store them using their country codes and use the functions from indico.util.countries to convert the country code to its name, and to get a list of all countries with their codes.