![]() If the subscription is only being used to manage MailChimp subscribers through your website, set this to ‘None.’ This will keep it from appearing as an option for the app’s email distribution. If set, assigns a different email model for use with a subscription so views and admin site sections will continue to work. See the section on custom templates for more information.Īssociated model - Defaults to ‘django_simple_bulk_’. Page template directory - Defaults to ‘django_simple_bulk_emailer/subscription/pages’. See the section on custom templates for more information. Proceed with caution, as page views and email sending will not work correctly if these are not configured properly.Įmail template directory - Defaults to ‘django_simple_bulk_emailer/subscription/emails’. These fields only need to be configured if the subscription needs to use custom templates or a custom email model (for example, if you want to subclass the BulkEmail model multiple times and have separate subscriptions associated with each). More information on MailChimp syncing is available below. These fields are self-explanatory and only need to be configured if you want to sync subscribers to this subscription with a MailChimp audience’s contacts. Use page view - A checkbox that determines whether article and index website pages will be generated for emails in the list. This also must be checked for page views to work. You may want private lists for testing purposes, etc. Publicly visible - A checkbox that determines whether the subscription is made available in user subscription-management pages. ![]() List name - What you want the list to be called in user-facing pages.ĭescriptive text - Optional text that will appear at the top of the subscription’s article index page. Index page URLs follow the format /article-pages-path/subscription-name-in-slug-form/. The change list for this section of the admin site includes links to public-facing article index pages for subscriptions that use them. The order of subscriptions can be changed by drag-and-drop, and this same order will be used in the options for choosing a distribution list when creating a bulk email. Subscriptions (email distribution lists) are configured in the admin site. See the section on management commands for more information.įor information on customizable settings for images and linked files used with emails and pages, see the django-simple-file-handler documentation. Monthly email opens can also be tracked in the admin site. Subscriptions (email distribution lists) are created and managed via the admin site. See the Django sessions documentation for more information. If you do not have Django sessions enabled (they are enabled by default), they will need to be enabled. See the Django sites framework documentation for more information.Ħ. The SITE_ID setting is needed for django-simple-bulk-emailer. If you are not already using the Django sites framework, go to your admin site and, under BULK EMAIL > Site profiles, create a profile with your site’s information. You will then need to go to BULK EMAIL > Site profiles in your admin site and check to be sure your details are correct.Īll new site profiles will be assigned an protocol, so change this if necessary. If you are already using the Django sites framework, run python manage.py import_sites. Include('django_simple_bulk_emailer.urls')ĥ. ![]() Include the django-simple-bulk-emailer URLconf in your website’s urls.py like this: urlpatterns = [ Run pip install django-simple-bulk-emailer.Īdd django-simple-bulk-emailer and its dependencies to your installed apps: INSTALLED_APPS = ( Refer to the Django email documentation for information on configuring a website to send email. The app can produce an unlimited number of subscriptions (email distribution lists), with different email and page templates for each.Ĭustomizable user subscription management pages and emails are built in. Optionally, it can produce customizable drop-in website article pages along with index pages for each subscription type.Īrticle pages include social media Open Graph tags, with the ability to specify a default image for pages without an image assigned. The django-simple-bulk-emailer Django app creates and distributes customizable bulk emails suitable for news articles and similar uses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |