blob: c4e7222454342d0caaa537c3f3d8bdb5143b0900 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 settings
class ReCaptchaField(forms.CharField):
default_error_messages = {
|