Django Nova is a simple newsletter manager for Django.
- Double opt-in
- Multiple newsletters per site
- Template driven email generation
- Built-in click tracking with Google Analytics
- Supports Premailer out of the box
- Full test suite
- Django 1.2
- BeautifulSoup
- Mock
- django-html5 (todo: remove dependency)
- Finch (optional)
- Premailer (optional)
Once installed you can begin creating newsletters and newsletter issues (individual mailings) via the Django admin.
Install django-nova in your site-packages directory:
# From GitHub
pip install git+git://github.com/DarkHorseComics/django-nova.git#egg=DjangoNova
# From BitBucket
pip install https://bitbucket.org/darkhorse/django-nova
Add django-nova to your installed apps in settings.py:
INSTALLED_APPS = (
# ...
'nova',
)
Include the nova.urls in your urls.py:
urlpatterns = patterns('',
(r'^nova/', include('nova.urls')),
)
Nova has a variety of settings.py variables that you can use to change the default behavior.
# Default email used when sending newsletters
NOVA_FROM_EMAIL = 'dhdigital@darkhorse.com'
# If you have not installed premailer set this to False
NOVA_USE_PREMAILER = True
# A list of processors to use when adding context to the newsletter template
NOVA_CONTEXT_PROCESSORS = ('foo.bar.def',)
Default newsletter templates can be added to your project's template
folder and
referenced when adding or updating a newsletter object in the Django admin. These
tempaltes are loaded using any registered template loaders.
Please feel free to fork the repository and create a pull request to have your changes merged back in.
Don't hesitate to contact us if you need help.