diff --git a/core/management/commands/addgeo.py b/core/management/commands/addgeo.py index 6d47e05..4f9f92b 100644 --- a/core/management/commands/addgeo.py +++ b/core/management/commands/addgeo.py @@ -26,12 +26,12 @@ class Command(BaseCommand): # create country for spain country = Country.objects.create(name='EspaƱa') - locations_file = 'locations.json' + locations_file = 'datasets/locations.json' locations = json.loads(open(locations_file).read()) # REGIONS - geo_file='gadm36_ESP.json' # geo boundary data for regions + geo_file='datasets/gadm36_ESP.json' # geo boundary data for regions geo_data = json.loads(open(geo_file).read()) logging.info("Starting Region creation") diff --git a/requirements.txt b/requirements.txt index 0e62195..360f7be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,12 @@ Django==2.2.17 +psycopg2-binary==2.8.6 djangorestframework==3.12.2 -djangorestframework-simplejwt==4.4.0 +djangorestframework-simplejwt==4.6.0 factory-boy==3.1.0 django-dotenv==1.4.2 django-filter==2.4.0 -e git://github.com/darklow/django-suit/@v2#egg=django-suit django-cors-headers==3.5.0 django-taggit-serializer==0.1.7 -django-tagulous==1.1.0 \ No newline at end of file +django-tagulous==1.1.0 +Pillow==8.1.0 \ No newline at end of file