-
Notifications
You must be signed in to change notification settings - Fork 171
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
Add email notification flow to add verticals for new products #4549
Conversation
if instance.draft or not created: | ||
return | ||
|
||
management_groups = getattr(settings, 'VERTICALS_MANAGEMENT_GROUPS', []) |
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.
should it not be a single group?
course_discovery/apps/course_metadata/templates/course_metadata/email/vertical_assigment.html
Outdated
Show resolved
Hide resolved
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.
The tests are missing.
50e7a58
to
369e829
Compare
This is not addressed and hence, not ready for re-review. |
a58b093
to
c0ed45b
Compare
course_discovery/apps/course_metadata/templates/course_metadata/email/vertical_assigment.html
Outdated
Show resolved
Hide resolved
649f2e1
to
a1ef58b
Compare
@@ -0,0 +1,11 @@ | |||
{% extends "course_metadata/email/email_base.html" %} |
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.
the template path should be template/tagging/email/vertical_assignment.html. The app name directory should be there as per best/recommended practice https://learndjango.com/tutorials/template-structure.
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.
We are using Option 1: App Level Templates. And our template is in
course_discovery/apps/tagging/templates/email/update_course_verticals.html
a1ef58b
to
b769fc5
Compare
PROD-4283
Add email notification flow to add verticals for new products