Skip to content

Group constructor time parameter likely a mistake #7051

@edan-bainglass

Description

@edan-bainglass

time parameter introduced in Group constructor - I don't believe this should be here. DbGroup autogenerates time as timezone.now(). It should not be provided on creation. As such, time should be marked as exclude_to_orm=True and removed from the constructor. However, even though it is optional in the constructor, as it has been there since 2.7, it is now potentially a backwards compatibility issue to remove.

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