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

Functions

def get_by_id
def get_list

Detailed Description

Author
Gaetano
Date
May 9, 2013

Function Documentation

def src.clm.views.user.template.get_by_id (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
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.user.template.get_by_id()) + one additional kwarg: cm_id). View requests src.cm.views.user.template.get_by_id() from CM and returns the response. For documentation see src.cm.views.user.template.get_by_id()

Definition at line 47 of file template.py.

def src.clm.views.user.template.get_list (   cm_response,
  data 
)
Note
The clm.utils.decorators.user_log decorator performs User authentication. It also provides handling/logging mechanism for each Exception raised in view. see also: clm.utils.decorators.user_log
Parameters
http_request(HttpRequest)
login(POST string)
cm_id(POST int) session cm_id
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.user.template.get_list()) + one additional kwarg: cm_id). View requests src.cm.views.user.template.get_list() from CM and returns the response. For documentation see src.cm.views.user.template.get_list()

Definition at line 36 of file template.py.