cc1
v2.1
CC1 source code docs
|
Packages | |
namespace | auth |
namespace | context_processors |
namespace | decorators |
namespace | exceptions |
namespace | formatters |
namespace | forms |
namespace | parsing |
namespace | regexp |
namespace | registration |
namespace | states |
namespace | views |
namespace | widgets |
Functions | |
def | check_response_errors |
Checks status of response response and throws appropriate error. | |
def | get_dict_from_list |
Returns dictionary with key: key equal to key_value from a list of dictionaries: list_of_dicts . | |
def | get_dicts_from_list |
Returns list of dictionaries with keys: key equal to one from list list_of_key_values from a list of dictionaries: list_of_dicts . |
Variables | |
tuple | CLM = ServerProxy(settings.CLOUD_MANAGER_ADDRESS) |
string | REDIRECT_FIELD_NAME = 'next' |
def src.wi.utils.check_response_errors | ( | response, | |
session | |||
) |
Checks status of response response and throws appropriate error.
Definition at line 48 of file __init__.py.
def src.wi.utils.get_dict_from_list | ( | list_of_dicts, | |
key_value, | |||
key = 'id' |
|||
) |
Returns dictionary with key: key
equal to key_value
from a list of dictionaries: list_of_dicts
.
Definition at line 68 of file __init__.py.
def src.wi.utils.get_dicts_from_list | ( | list_of_dicts, | |
list_of_key_values, | |||
key = 'id' |
|||
) |
Returns list of dictionaries with keys: key
equal to one from list list_of_key_values
from a list of dictionaries: list_of_dicts
.
Definition at line 82 of file __init__.py.
tuple src.wi.utils.CLM = ServerProxy(settings.CLOUD_MANAGER_ADDRESS) |
Definition at line 41 of file __init__.py.
string src.wi.utils.REDIRECT_FIELD_NAME = 'next' |
Definition at line 40 of file __init__.py.