Fix for compatibility with django-contact-form 1.0.