Commits

funkybob  committed f4c6e42

added as_html flat to email model
Add slug field to email model

  • Participants
  • Parent commits 74d551b

Comments (0)

Files changed (1)

File gnocchi/mail/models.py

 from django.db import models
 
 class Email(models.Model):
+    path = models.SlugField()
     name = models.CharField(max_length=64)
     subject = models.CharField(max_length=200)
     template = models.ForeignKey('cms.Template', related_name='+')
+    as_html = models.BooleanField(default=False)
     email_to = models.CharField(max_length=1024)
     email_from = models.CharField(max_length=80)
     redirect_to = models.ForeignKey('cms.Page', related_name='+')