mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Removed some more useless code related to the verify_exists removal.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -42,9 +42,6 @@ class URLValidator(RegexValidator):
|
||||
r'(?::\d+)?' # optional port
|
||||
r'(?:/?|[/?]\S+)$', re.IGNORECASE)
|
||||
|
||||
def __init__(self):
|
||||
super(URLValidator, self).__init__()
|
||||
|
||||
def __call__(self, value):
|
||||
try:
|
||||
super(URLValidator, self).__call__(value)
|
||||
|
||||
Reference in New Issue
Block a user