Good evening all,
following my application development, I have reached to the stage where I am about to add some data using data migrations.
I did download some data from OSM (saved as json), added a load data function but when i run the migrate command I get a keyerror in my migration files:
File "/home/qgislinuxadmin/nearbyshops/shops/migrations/0002_auto_20210618_2102.py", line 18, in load_data
for obj in objects['elements']:
KeyError: 'elements'
which would mean that the key in not in a dictionary.
Any help or advice would be appreciated
Kind Regards
Stathis