This document describes the steps needed to set up pennyblack in your own project.

Since pennyblack is based on FeinCMS, you’ll need a FeinCMS installation first.

You can also install pennyblack using pip like so:

$ pip install pennyblack

Or you can grab your own copy of the pennyblack source from github:

$ git clone git://

Some features like spf detection need pyspf and pydns installations.

Make sure that the FeinCMS and pennyblack Apps are added to installed apps in the


Add a newsletter url to the

url(r'^newsletter/', include('pennyblack.urls'), name = 'pennyblack'),


To send emails and receive bounced emails these to management commands have to be executed:

./ sendmail
./ getmail


To use pennyblacks newsletter model, you need to register html templates and content types like you do for the FeinCMS page module. Simple newsletter with only text content would look like this:

from pennyblack.models import Newsletter
from pennyblack.content.richtext import TextOnlyNewsletterContent

    'key': 'base',
    'title': 'Generic Newsletter',
    'path': 'pennyblack/base_newsletter.html',
    'regions': (
        ('main', 'Main Region'),


South Migrations

To use south migrations specify a south migration module in the settings:

    'pennyblack': 'project_name.migrations_pennyblack',

Table Of Contents

Previous topic

Welcome to Pennyblack’s documentation!

Next topic

Content Types

This Page