Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USER STORY: Date Validation #35

Closed
2 tasks done
MoniPar opened this issue Feb 26, 2023 · 0 comments
Closed
2 tasks done

USER STORY: Date Validation #35

MoniPar opened this issue Feb 26, 2023 · 0 comments
Labels
8 Story points Must Have Guaranteed to be delivered
Milestone

Comments

@MoniPar
Copy link
Owner

MoniPar commented Feb 26, 2023

As a developer, I can place validations on the datefield so that users are not allowed to pick dates in the past and dates /times that have already been booked.

Acceptance Criteria

  1. User is not allowed to schedule an appointment for a date in the past.
  2. User is not allowed to schedule an appointment for a Sunday or a Monday.
  3. User is not allowed to schedule an appointment for a date and time that has already been booked.

Tasks

  • Write validation code for date in forms.py
  • Write validation code for time in forms.py
@MoniPar MoniPar added 8 Story points Must Have Guaranteed to be delivered labels Feb 26, 2023
@MoniPar MoniPar added this to the Appointments milestone Feb 26, 2023
@MoniPar MoniPar closed this as completed Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8 Story points Must Have Guaranteed to be delivered
Projects
Development

No branches or pull requests

1 participant