示例#1
0
 def validate_zip_code(school_zip, international):
     if not international:
         validators.numeric(school_zip)
示例#2
0
文件: school.py 项目: bmun/huxley
 def validate_zip_code(school_zip, international):
     if not international:
         validators.numeric(school_zip)
示例#3
0
    def validate_zip(self, attrs, source):
        school_zip = attrs[source]

        validators.numeric(school_zip)

        return attrs
示例#4
0
    def validate_zip(self, attrs, source):
        school_zip = attrs[source]

        validators.numeric(school_zip)

        return attrs
示例#5
0
文件: school.py 项目: hmuntest/huxley
    def validate_zip(self, value):
        school_zip = value

        validators.numeric(school_zip)

        return value
示例#6
0
    def validate_zip(self, value):
        school_zip = value

        validators.numeric(school_zip)

        return value