def totp_digits():
    return getattr(settings, 'TWO_FACTOR_TOTP_DIGITS', 6)
Returns the number of digits (as configured by the TWO_FACTOR_TOTP_DIGITS setting)
dataset/ETHPy150Open Bouke/django-two-factor-auth/two_factor/utils.py/totp_digits