Skip to content

get_or_create in nansat_ingestor should not use update_or_create #127

@mortenwh

Description

@mortenwh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions