Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- countries = markets.get('Countries')
- objs = [
- SkyMarkets(
- code=market['Code'],
- name=market['Name']
- )
- for market in countries
- ]
- SkyMarkets.objects.bulk_create(objs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement