Package s3 :: Module s3validators :: Class IS_LAT_LON
[frames] | no frames]

Class IS_LAT_LON

source code

gluon.validators.Validator --+
                             |
                            IS_LAT_LON

Designed for use within the S3LocationLatLonWidget. For Create forms, this will create a new location from the additional fields For Update forms, this will check that we have a valid location_id FK and update any changes


To Do: Audit

Instance Methods
 
__init__(self, field) source code
 
__call__(self, value) source code
Method Details

__init__(self, field)
(Constructor)

source code 

__call__(self, value)
(Call operator)

source code