def login_required(view_func):

    if satnet_settings.JRPC_LOGIN_REQUIRED:
        return auth_login_required(view_func)
    else:
        return view_func
Field Test for when Blank, Default, Null & Unique
dataset/ETHPy150Open satnet-project/server/services/accounts/decorators.py/login_required--crossover with--dataset/ETHPy150Open stefanfoulis/django-phonenumber-field/testproject/testapp/tests.py/PhonenumerFieldAppTest.test_save_unique_null_blank_default_phone_to_database