def datatype(dbtype, description):
    dt = connection.introspection.get_field_type(dbtype, description)
    if type(dt) is tuple:
        return dt[0]
    else:
        return dt
Validates an upload input based on maximum size.
dataset/ETHPy150Open lionheart/django-pyodbc/tests/django16/introspection/tests.py/datatype--crossover with--dataset/ETHPy150Open gregorynicholas/flask-gae_blobstore/flask_gae_blobstore.py/validate_max_size