Source

gnocchi-cms / gnocchi / mail / models.py

from django.db import models

class Email(models.Model):
    name = models.CharField(max_length=64)
    subject = models.CharField(max_length=200)
    template = models.ForeignKey('cms.Template', related_name='+')
    email_to = models.CharField(max_length=1024)
    email_from = models.CharField(max_length=80)
    redirect_to = models.ForeignKey('cms.Page', related_name='+')
    as_html = models.BooleanField(default=False)
    class Meta:
        verbose_name = 'Email Form'