In geospaas.nansat_ingestor.managers.get_or_create, you use Django's update_or_create method. This is confusing and should be changed. Perhaps adding a second manager method update_or_create?
I think get_or_create is still needed, since a user doesn't necessarily want to update an existing entry.
In
geospaas.nansat_ingestor.managers.get_or_create, you use Django'supdate_or_createmethod. This is confusing and should be changed. Perhaps adding a second manager methodupdate_or_create?I think
get_or_createis still needed, since a user doesn't necessarily want to update an existing entry.