Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[feat] Notification Preferences Page #290
base: gsoc24-rebased
Are you sure you want to change the base?
[feat] Notification Preferences Page #290
Changes from 72 commits
6cc2835
7016f86
6d410fc
e6cbb9c
531acda
2dfc5a8
215118b
90221ca
64fe873
fdb8fdf
7c5cbeb
dfca656
0e5ebd2
44ca0dc
85bb0c9
b264324
b175fa1
c0d373f
487f6dd
a5d8b4e
cb8a296
4d5fca5
5c6bf56
8a8437f
8fb919c
7628892
946d743
1268fe6
c8cfdf0
f38dce3
cd40a29
b99f801
3ecbd92
33ec904
a0f08df
5a60f7d
852790b
3caaeda
ec83771
088abf2
5f8e008
1d4faae
aa813a7
40471ba
1e1978f
c912883
afb3be9
3fc3533
06bc604
72211c8
5f265be
7982603
890d764
fcb9e23
6dd8ca5
d1c5215
082c967
c0b7357
6106f9b
234627e
3d53083
9661ae6
0ecaa74
4ec65b7
b9d62b4
baa6111
c10952e
7efa79e
0e687b4
9156700
5413859
a796372
c3f01e5
ad8ff56
6c53bf6
2836bbd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This way, we won't need to iterate over individual objects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used
validated_data['web']
instead ofvalidated_data.get('web')
becauseNotificationSettingUpdateSerializer
requiresweb
andemail
fields to be present in valid payload.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After another review, I came to conclusion that we don't need to make any changes to the serializer. Please make changes to the test for this endpoint as requested in my previous review. We will see if something breaks because this change.