I have a DJongo site that pulls e-mail groups from Google Apps using the Provisioning API. I have something like: I'm thinking that a different kind of customer object continues in the DJGengo so that it becomes available in many views? If you have created a module level global group, and the utility function is to get it , Such as: Import gdata.apps.groups.client Client = gdata.apps.groups.client.GroupsProvisioningClient (domain = "example.com") client.ClientLogin (' Login takes some time, so I mobilized the recovery with AJAX calls. This is a login call that takes most of the time and should be done for multiple views. Example: A view provides a list of available groups and another view provides members of a selected group.
client = group acceptance client (domain = "example.com") def get_gapps_client (): if not, CLIENT.is_authenticated () # made the function! Client = Client Client login ('email', 'password', source = 'application') return customer
Comments
Post a Comment