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

Notifications - closes #21 #101

Merged
merged 41 commits into from
Aug 28, 2020
Merged

Notifications - closes #21 #101

merged 41 commits into from
Aug 28, 2020

Conversation

mikemaddem
Copy link
Member

To do: create notification for important user events: invited to a team, etc.

@mikemaddem mikemaddem added the WIP-Do not merge! Work in progress, do not merge until this label is removed label Aug 15, 2020
Comment on lines 244 to 248
test = Notification(title="You visited your profile")
test.datetime = datetime.datetime.now()
test.save()
userprofile.notifications.add(test)
userprofile.save()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

example of how to make a notification

@mikemaddem mikemaddem changed the base branch from master to develop August 22, 2020 19:59
@mikemaddem
Copy link
Member Author

TODO: send notification to users on both teams if a match is marked as disputed.

@mikemaddem mikemaddem merged commit 6803dff into develop Aug 28, 2020
@mikemaddem mikemaddem deleted the notifications branch August 28, 2020 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP-Do not merge! Work in progress, do not merge until this label is removed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants