def METHOD_NAME(user, key):
    # get config
    user_config, created = UserConfigModel.objects.get_or_create(
        user_config_username=user, filter_view='system_detail'
    )
    # toggle user config key
    user_config.METHOD_NAME(key)