-
Notifications
You must be signed in to change notification settings - Fork 982
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Setup Email Notifications and architected new announcement system * Added module to announcement schema and lazy loading to specific_users * Added create announcement and get announcement apis and added redis as dependency * Sorted GET Announcement result order * department info api (#1) Co-authored-by: aarav0012 <[email protected]> * rspc notification api added --------- Co-authored-by: Akash Kumar Sah <[email protected]> Co-authored-by: aarav0012 <[email protected]>
- Loading branch information
1 parent
8626fcd
commit 5c99c5a
Showing
22 changed files
with
740 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,7 @@ | |
# email of sender | ||
|
||
EMAIL_HOST_USER = '[email protected]' | ||
# EMAIL_HOST_PASSWORD = 'password' | ||
|
||
EMAIL_PORT = 587 | ||
ACCOUNT_EMAIL_REQUIRED = True | ||
|
@@ -79,8 +80,8 @@ | |
|
||
|
||
# CELERY STUFF | ||
# CELERY_BROKER_URL = 'redis://localhost:6379' | ||
# CELERY_RESULT_BACKEND = 'redis://localhost:6379' | ||
CELERY_BROKER_URL = 'redis://localhost:6379' | ||
CELERY_RESULT_BACKEND = 'redis://localhost:6379' | ||
CELERY_ACCEPT_CONTENT = ['application/json'] | ||
CELERY_TASK_SERIALIZER = 'json' | ||
CELERY_RESULT_SERIALIZER = 'json' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.