Example #1
0
 def fill_context(self, context):
     try:
         context['privates'] = ckan.connector('/'.join(['profile', self.user.slug, 'privates']))
     except:
         log.exception('Unable to fetch private datasets for %s', self.user.slug)
         pass
Example #2
0
 def fill_context(self, context):
     try:
         context['organizations'] = ckan.connector('/'.join(['profile', self.user.slug, 'organizations']))
     except:
         log.exception('Unable to fetch orgnizations for %s', self.user.slug)
         pass