Kaydet (Commit) fa1cc23d authored tarafından Adrian Holovaty's avatar Adrian Holovaty

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
üst 9e8a5969
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment