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

Added support for using template files instead of strings. #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added support for using template files instead of strings. #10

wants to merge 1 commit into from

Conversation

honi
Copy link

@honi honi commented Jun 26, 2014

Defining all notifications inside settings.py is not so pretty when you have 10+ notifications that use templatetags or simply have long text.

Added two options: headline_template_name and body_template_name, that if set, are used instead of the other template string options to render a template file for the notification headline and body.

Included documentation updates and test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant