#9713: No verification of URL validity on django.db.models.fields.URLField ---------------------------+------------------------------------------------ Reporter: masklinn | Owner: nobody Status: new | Milestone: post-1.0 Component: Documentation | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ The [http://docs.djangoproject.com/en/dev/ref/models/fields/#urlfield documentation for URLField] states, for the ``verify_exists`` kwarg, ''If True (the default), the URL given will be checked for existence (i.e., the URL actually loads and doesn't give a 404 response).''
But this validation doesn't seem to happen and, indeed, nothing in the URLField code performs any verification of the URL's validity. The [http://docs.djangoproject.com/en/dev/ref/forms/fields/#urlfield forms URLField] on the other hand does perform URL verification and validation on ``verify_exists``. I'm not sure whether it's a case of overreaching documentation or of something that wasill be checked for existence (i.e., the URL actually loads and doesn't give a 404 response). But this validation doesn't seem to happen and, indeed, nothing in the URLField code performs any verification of the URL's validity. The forms URLField on the other hand does perform URL verification and validation on verify_exists as documented. I'm not sure whether it's a case of overreaching documentation or of something that was supposed to be included in t supposed to be included in the code but wasn't or was removed, so I marked this as a doc bug. -- Ticket URL: <http://code.djangoproject.com/ticket/9713> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
