When I try to import he data using this guide I always get an "Could not open the datasource at …" error for the first file of the boundary-line data.
Strangely the problem goes away if I add 2 lines directly to manage.py:
from django.contrib.gis.gdal import DataSource
# …
DataSource('…/Data/GB/county_electoral_division_region.shp')
# …
It seems that the first call to DataSource has some (in that case helpful) side-effects.
When I try to import he data using this guide I always get an "Could not open the datasource at …" error for the first file of the boundary-line data.
Strangely the problem goes away if I add 2 lines directly to manage.py:
It seems that the first call to DataSource has some (in that case helpful) side-effects.