diff options
Diffstat (limited to 'dev-python/django-recaptcha/files/django-recaptcha-fields.patch')
| -rw-r--r-- | dev-python/django-recaptcha/files/django-recaptcha-fields.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-python/django-recaptcha/files/django-recaptcha-fields.patch b/dev-python/django-recaptcha/files/django-recaptcha-fields.patch new file mode 100644 index 000000000000..2bd0d32c967e --- /dev/null +++ b/dev-python/django-recaptcha/files/django-recaptcha-fields.patch @@ -0,0 +1,18 @@ +diff -ur django-recaptcha-0.0.6.orig/captcha/fields.py django-recaptcha-0.0.6/captcha/fields.py +--- captcha/fields.py 2013-01-31 17:05:59.000000000 +0800 ++++ captcha/fields.py 2013-03-07 01:44:54.804708648 +0800 +@@ -2,13 +2,12 @@ + import sys + + from django import forms +-from django.conf import settings + from django.utils.encoding import smart_unicode + from django.utils.translation import ugettext_lazy as _ + + from captcha import client + from captcha.widgets import ReCaptcha +- ++from captcha import test_settings as settings + + class ReCaptchaField(forms.CharField): + default_error_messages = { |
