App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
google.appengine._internal.django.core.validators.URLValidator Class Reference
Inheritance diagram for google.appengine._internal.django.core.validators.URLValidator:
google.appengine._internal.django.core.validators.RegexValidator

Public Member Functions

def __init__
 
def __call__
 
- Public Member Functions inherited from google.appengine._internal.django.core.validators.RegexValidator
def __init__
 
def __call__
 

Public Attributes

 verify_exists
 
 user_agent
 
- Public Attributes inherited from google.appengine._internal.django.core.validators.RegexValidator
 regex
 
 message
 
 code
 

Static Public Attributes

tuple regex
 
- Static Public Attributes inherited from google.appengine._internal.django.core.validators.RegexValidator
string regex = ''
 
tuple message = _(u'Enter a valid value.')
 
string code = 'invalid'
 

Member Data Documentation

tuple google.appengine._internal.django.core.validators.URLValidator.regex
static
Initial value:
1 = re.compile(
2  r'^https?://' # http:// or https://
3  r'(?:(?:[A-Z0-9](?:[A-Z0-9-]{0,61}[A-Z0-9])?\.)+[A-Z]{2,6}\.?|' #domain...
4  r'localhost|' #localhost...
5  r'\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})' # ...or ip
6  r'(?::\d+)?' # optional port
7  r'(?:/?|[/?]\S+)$', re.IGNORECASE)

The documentation for this class was generated from the following file: