Changeset 7899
- Timestamp:
- 07/11/08 13:21:55 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
djangoproject.com/django_website/apps/contact/forms.py
r7898 r7899 12 12 13 13 def message(self): 14 return textwrap.wrap(self.cleaned_data["body"], 76) 14 body = "\n".join(textwrap.wrap(self.cleaned_data["body"], 76)) 15 return "From: %s <%s>\n\n%s" % (self.cleaned_data["name"], self.cleaned_data["email"], body) 15 16 16 17 class FoundationContactForm(BaseContactForm):
