Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Lovell-Troy committed Aug 2, 2013
1 parent bf037b9 commit 305fcd8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classy_mail/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def build_msg(self):
try:
subject = self.subject.lstrip().rstrip().replace('\n','')
except AttributeError:
subject = self.render_subject_template(),
subject = self.render_subject_template()
self._msg = EmailMultiAlternatives(
subject = subject,
body = self.render_text_template(),
Expand Down
2 changes: 1 addition & 1 deletion classy_mail/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __unicode__(self):


class CampaignAddressee(models.Model):
user = models.ForeignKey(User, blank=True, null=True, required=False)
user = models.ForeignKey(User, blank=True, null=True)
email_address = models.EmailField(unique=True)
first_name = models.CharField(max_length=128, null=True, blank=True)
last_name = models.CharField(max_length=128, null=True, blank=True)
Expand Down

0 comments on commit 305fcd8

Please # to comment.