mirror of https://github.com/django/django.git
Fixed #7454 -- Removed unnecessary import in newforms/fields.py. Thanks, lorien
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9e8a5969e7
commit
fa1cc23df3
|
@ -514,7 +514,6 @@ class URLField(RegexField):
|
|||
return value
|
||||
if self.verify_exists:
|
||||
import urllib2
|
||||
from django.conf import settings
|
||||
headers = {
|
||||
"Accept": "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5",
|
||||
"Accept-Language": "en-us,en;q=0.5",
|
||||
|
|
Loading…
Reference in New Issue