from minibase.models import Countries # Retunrs the query of all awailable Country names on the table named Countries # Note that the formating is done during the SQLAlchemy Table declaration. # Important note This table is ImporteD externally from a modifier SQL version of # Github : https://github.com/dr5hn/countries-states-cities-database def country_choices(): choices = Countries.query.all() return choices