GeoNode / django-osgeo-importer

An extensible Django app that allows users to upload geospatial data.
GNU General Public License v3.0
26 stars 30 forks source link

call get_or_create_target_dataset #217

Closed davisc closed 6 years ago

davisc commented 6 years ago

This PR refactors create_target_dataset to get_or_create_target_dataset to account for the cases when the target dataset exists. In the case where the import task fails after the create dataset step, the user can resubmit the import request to continue processing.