def get_protocol():
    protocol = 'http'
    if userena_settings.USERENA_USE_HTTPS:
        protocol = 'https'
    return protocol
Returns a string with the current protocol.
dataset/ETHPy150Open clione/django-kanban/src/core/userena/utils.py/get_protocol