Permalink
Browse files

Fixed oversight from base form abstraction.

  • Loading branch information...
1 parent f1b1378 commit d606729270e1960824b0a6e355b011e085a04ea8 @jezdez jezdez committed May 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 contact_form/forms.py
View
@@ -139,7 +139,7 @@ class ContactBaseForm(forms.Form):
def __init__(self, data=None, files=None, request=None, *args, **kwargs):
if request is None:
raise TypeError("Keyword argument 'request' must be supplied")
- super(ContactForm, self).__init__(data=data, files=files, *args, **kwargs)
+ super(ContactBaseForm, self).__init__(data=data, files=files, *args, **kwargs)
self.request = request
from_email = settings.DEFAULT_FROM_EMAIL

0 comments on commit d606729

Please sign in to comment.