futurecolors/django-contact-form — pull request #3 by hernantz (2013-04-28 01:56:30+00:00)
Title: Add overrideable get_from_email method to BaseEmailFormMixin

Allow overriding the from_email parameter in forms.BaseEmailFormMixin.

Example use case:

```python
from contact_form.forms import BasicContactForm

class ContactForm(BasicContactForm):
"""
Basic contact form with email, subject and message, that
sets a from_email to the email submited in the form
"""
def get_from_email(self):
return self.cleaned_data['email']
```