-
Notifications
You must be signed in to change notification settings - Fork 20
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
implemented last donation date check #189
Conversation
Hi @rakesh-nj please acknowledge the comments and update the PR |
Hi ! could you please explain me a little bit ? |
@rakesh-nj sure, which part you need an explanation for? |
Hey , what else do I need to update ? please let me know which view has to be updated ? |
I have made specific comments on code with the changes needed. |
Sorry for my misunderstanding . I will make the changes needed. |
@rakesh-nj I think you still misunderstood the comments. Please see the below comments and resolve. |
Updated views.py to check whether last donation date is within 6 months
Hi @sayakongit I have made changes . Please check |
Hi @sayakongit Please check it out |
@rakesh-nj Hi, sorry brother but I think you still haven't got the issue. I am unassigning you from this. Never mind, you can still work on other issues. |
Description
Made changes to check if the last donation date is within 3 months
Related Issue(s)
Fixes #165
Changes Made
ApplyAsDonorView
to enforce a 3-month restriction on blood donations.ApplyAsDonorSerializer
to prevent donors from donating within the last 3 months.Screenshots (if applicable)
[Include screenshots or images that help demonstrate the changes made, especially for UI-related changes.]
Checklist
Please review and check the following before submitting your pull request:
Contributor License Agreement
By submitting this pull request, I confirm that my contribution is made under the terms of the project's License, and I agree to abide by the project's Code of Conduct.