diff --git a/core/management/commands/addgeo.py b/core/management/commands/addgeo.py index 89c3117..53d587a 100644 --- a/core/management/commands/addgeo.py +++ b/core/management/commands/addgeo.py @@ -30,6 +30,7 @@ class Command(BaseCommand): ds = DataSource('datasets/gadm36_ESP.gpkg') # create country for spain + country_ds = ds[0] country = Country.objects.create(name='EspaƱa') locations_file = 'datasets/locations.json'