Skip to content

[Enhancement] Backend: automatically detect event status #19

Description

@infinity1729

Description
Currently we are sending a status field in the API where admin has to manually update the status.
This issue aims to automate this by getting current dat and then pass wether it is ongoing, upcoming, or ended.

Screenshots
API call
image

Present code (backend/events/models.py)
image

Important Note:
We expect you to create a new branch for solving this issue names as eventStatus.
The command to create and access new branch is git checkout -b eventStatus

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    codepeak2022This issue will be considered for codepeak2022easyenhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions