def run(): fields = ('id', 'slug') + i18n_fieldnames('name') data = get_data(get_data_path('sex.csv')) create_objects(Sex, fields, data)
def run(): fields = ('id', 'slug') + i18n_fieldnames('name') data = get_data(get_data_path('direction.csv')) create_objects(Direction, fields, data)
def run(): fields = ('id', 'slug') + i18n_fieldnames('name') data = get_data(get_data_path('activity.csv')) create_objects(Activity, fields, data)
def run(): fields = ('id', 'slug') + i18n_fieldnames('name') data = get_data(get_data_path('plumage.csv')) create_objects(Plumage, fields, data)
def run(): fields = ('id', 'slug') + i18n_fieldnames('name') data = get_data(get_data_path('protocol.csv')) create_objects(Protocol, fields, data)