{ "info": { "author": "Fragaria, s.r.o.", "author_email": "info@fragaria.cz", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Informant\n---------\n\nInformant is simple yet flexible app for common newsletter-sending functionality\nwhich lot of sites need to offer. It only provides one common newsletter\nwith opt-in/opt-out and features management command for mail sending (HTML/text alternative).\n\nInstallation\n============\n\nStandard Django way::\n \n pip install django-informant\n \nAdd to your ``INSTALLED_APPS``::\n\n INSTALLED_APPS = (\n ..\n ..,\n 'informant',\n ...\n )\n \nSet e-mail address to set newsletters from in your ``settings.py``::\n\n NEWSLETTER_EMAIL = 'your@example.com\n \nUsage\n=====\n \nTemplates\n*********\n\nInformant provides few default templates to start with but it's usually better\nto make your own - customized. These are:\n\n* ``informant/management/subscribe_ok.html`` - template to render when subscription is OK\n* ``informant/management/subscribe_error.html`` - template to render when there was an error\n* ``informant/management/unsubscribed.html`` - template to render when user has unsubscribed\n* ``informant/mail/newsletter.html`` - base template with e-mail structure\n* ``informant/mail/base.txt`` - text alternative that should point out to the web version of the newsletter\n\nInformant uses newsletter text as Django template. It's therefore usefull\nto create basic blocks in ``informant/mail/newsletter.html`` and then extend\nfrom it in the newsletter administration and override only specific block\nlike you would do in real templates. E.g.:\n\n**In informant/mail/newsletter.html**::\n\n {% load i18n %}\n \n \n
\n \n