api/survey_api.py
def make_slider_min_max_values_strings(json_content):
    """ Turns min/max int values into strings, because the iOS app expects strings. This is for
    backwards compatibility; when all the iOS apps involved in studies can handle ints,
    we can remove this function. """
    for question in json_content:
        if 'max' in question:
            question['max'] = str(question['max'])
        if 'min' in question:
            question['min'] = str(question['min'])
    return json_content
 Turns min/max int values into strings, because the iOS app expects strings. This is for
    backwards compatibility; when all the iOS apps involved in studies can handle ints,
    we can remove this function. 
Turns min/max int values into strings, because the iOS app expects strings. This is for
backwards compatibility; when all the iOS apps involved in studies can handle ints,
we can remove this function.
Turns min / max int values into strings because the iOS app expects strings . This is for backwards compatibility ; when all the iOS apps involved in studies can handle ints we can remove this function .
def make_slider_min_max_values_strings(json_content):
    for question in json_content:
        if 'max' in question:
            question['max'] = str(question['max'])
        if 'min' in question:
            question['min'] = str(question['min'])
    return json_content
def make_slider_min_max_values_strings ( json_content ) : for question in json_content : if 'max' in question : question [ 'max' ] = str ( question [ 'max' ] ) if 'min' in question : question [ 'min' ] = str ( question [ 'min' ] ) return json_content
Turns min/max int values into strings, because the iOS app expects strings.
Turns min / max int values into strings because the iOS app expects strings .
""" Turns min/max int values into strings, because the iOS app expects strings. This is for
    backwards compatibility; when all the iOS apps involved in studies can handle ints,
    we can remove this function. """
json_content