Beispiel #1
0
 def get_context_data(self, request, **kwargs):
     context = {}
     project = 'nova'
     context['json'] = log_api.projectlog(project)
     #context['json'] = json.loads(log_api.projectlog(project))['test']
     print(context)
     return context
Beispiel #2
0
 def get_context_data(self, request, **kwargs):
     context = {}
     project = 'nova'
     context['log'] = log_api.projectlog(project)
     return context