Skip to content

ModelChoicePreference when pk not exists #314

@CleitonDeLima

Description

@CleitonDeLima

Hi,

When I use the ModelChoicePreference preference I save the pk of an object. If this object is deleted, the serializer's behavior is to throw an exception. Wouldn't the correct thing be to return empty in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions