Hi everyone, verifying unresponsive URLs still hangs. There is ticket #9857, raised two years ago, which propagates using a timeout argument on an URLField level.
Unfortunately, urllib2.urlopen (which is used by URLValidator to verify the URL) introduced a timeout support in Python 2.6 and Django requires 2.4+. For us, having the admin hang if an external ressource is unresponsive is a blocker and I would love to introduce an explicit timeout argument on URLFields that Python 2.6+ respects and Python 2.4-2.5 ignores. I wrote a patch and attached it to the ticket: http://code.djangoproject.com/ticket/9857 Any thoughts? Best, Fabian -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.