cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.clm.views.admin_cm.admin Namespace Reference

Functions

def add
def change_password
def delete
def list_admins

Detailed Description

Note
All functions here are decorated by src.clm.utils.decorators.admin_cm_log. It's recommended to read src.clm.utils.decorators.admin_cm_log docs before using functions below.

Function Documentation

def src.clm.views.admin_cm.admin.add (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_clm_log decorator performs CLMAdmin authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_clm_log
Parameters
http_request(HttpRequest)
cm_id(POST int) session cm_id
login(POST string)
admin_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.admin.add()) + one additional kwarg: cm_id). View requests src.cm.views.admin.add() from CM and returns the response. For documentation see src.cm.views.admin.add()

Definition at line 38 of file admin.py.

def src.clm.views.admin_cm.admin.change_password (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_clm_log decorator performs CLMAdmin authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_clm_log
Parameters
http_request(HttpRequest)
cm_id(POST int) session cm_id
login(POST string)
admin_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.admin.change_password()) + one additional kwarg: cm_id). View requests src.cm.views.admin.change_password() from CM and returns the response. For documentation see src.cm.views.admin.change_password()

Definition at line 82 of file admin.py.

def src.clm.views.admin_cm.admin.delete (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_clm_log decorator performs CLMAdmin authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_clm_log
Parameters
http_request(HttpRequest)
cm_id(POST int) session cm_id
login(POST string)
admin_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.admin.delete()) + one additional kwarg: cm_id). View requests src.cm.views.admin.delete() from CM and returns the response. For documentation see src.cm.views.admin.delete()

Definition at line 57 of file admin.py.

def src.clm.views.admin_cm.admin.list_admins (   cm_response,
  data 
)
Note
The clm.utils.decorators.admin_clm_log decorator performs CLMAdmin authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.admin_clm_log
Parameters
http_request(HttpRequest)
cm_id(POST int) session cm_id
login(POST string)
admin_password(POST string)
Note
This function is decorated by clm.utils.decorators.cm_request decorator. It's fully transparent. All actual parameters of this function are kwargs (the same as required by corresponding CM view (src.cm.views.admin.list_admins()) + one additional kwarg: cm_id). View requests src.cm.views.admin.list_admins() from CM and returns the response. For documentation see src.cm.views.admin.list_admins()

Definition at line 93 of file admin.py.