~james-w/python-oops-tools/prod-deploy

« back to all changes in this revision

Viewing changes to src/oopstools/oops/models.py

  • Committer: Robert Collins
  • Date: 2012-07-27 04:27:53 UTC
  • mto: This revision was merged to the branch mainline in revision 37.
  • Revision ID: robertc@robertcollins.net-20120727042753-o3tjsdzmzkh6a2c1
Allow a per-report to-address. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
    summary = models.CharField(max_length=20, choices=SUMMARY_CHOICES)
163
163
    prefixes = models.ManyToManyField(Prefix)
164
164
    active = models.BooleanField(default=False)
 
165
    recipient = models.EmailField(max_length=254, null=True)
165
166
 
166
167
    def __unicode__(self):
167
168
        return unicode(self.name)