django-emailpost - Post to Django blogs via email.


Installation

    git clone git://github.com/jk0/django-emailpost.git
    cd django-emailpost
    sudo ln -s /path/to/django-emailpost /usr/bin

    sudo apt-get install postfix
    sudo postconf -e "mailbox_command = django-emailpost -p <project path> -a <app> -r <recipient> -s <sender>"
    sudo /etc/init.d/postfix restart


DB Model Assumptions

    class Category(models.Model):
        name = models.CharField()

    class Post(models.Model):
        title = models.CharField()
        slug = models.CharField()
        date = models.DateTimeField()
        body = models.TextField()
        published = models.BooleanField()
        categories = models.ManyToManyField(Category)
