Skip to content

get_calendars_for_object assumes that "id" exists in an object #41

@alxnik

Description

@alxnik

If in a model field the parameter primary_key=True is set, the id field is not created. However get_calendars_for_object filters on the .id of the object and fails in such a case.

It should filter on the .pk value which points to the primary key of the object

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