Skip to content

Commit

Permalink
Merge pull request #20 from crcresearch/develop
Browse files Browse the repository at this point in the history
Update Email Notification Creators
  • Loading branch information
branks42 authored Apr 6, 2021
2 parents b7d82c1 + 5f45177 commit fea38e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion django_notification_system/notification_creators/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def create_notification(
elif "template_name" in extra:
# TODO: Look into how this function works and if we can just instruct people to include email templates in the TEMPLATE_DIRS setting.
template = get_template(extra["template_name"])
email_body = template.render(**extra)
email_body = template.render(extra)
else:
raise ValueError(
"You must either specify a `body` value or include 'template_name' in `extra` to create an email notification."
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = django-notification-system
version = 1.3
version = 1.4
description = A Django app that allows developers to send notifications of various types to users.
description-file = README.md
long_description_content_type = text/markdown
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def read(f):
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.3.0', # Required
version='1.4.0', # Required

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down

0 comments on commit fea38e1

Please sign in to comment.