forked from shaba/openuds
Starting to work on reporting
This commit is contained in:
parent
9656aab27d
commit
27224fa8a1
@ -32,12 +32,12 @@
|
||||
from __future__ import unicode_literals
|
||||
from django.conf.urls import patterns, include
|
||||
|
||||
__updated__ = '2015-02-28'
|
||||
__updated__ = '2015-03-10'
|
||||
|
||||
urlpatterns = patterns(
|
||||
'uds.admin.views',
|
||||
(r'^$', 'index'),
|
||||
(r'^tmpl/(?P<template>[a-zA-Z0-9_-]*)$', 'tmpl'),
|
||||
(r'^sample$', 'sample'),
|
||||
(r'^reports/', include('uds.admin.views.reports.urls')),
|
||||
(r'^reporting/', include('uds.admin.views.reporting.urls')),
|
||||
)
|
||||
|
@ -32,9 +32,9 @@
|
||||
from __future__ import unicode_literals
|
||||
from django.conf.urls import patterns
|
||||
|
||||
__updated__ = '2015-02-28'
|
||||
__updated__ = '2015-03-10'
|
||||
|
||||
urlpatterns = patterns(
|
||||
'uds.admin.views.reports',
|
||||
(r'^usage/', 'usage'),
|
||||
'uds.admin.views.reporting',
|
||||
(r'', 'usage'),
|
||||
)
|
@ -48,7 +48,7 @@ class Client(object):
|
||||
Again, due to the fact that ovirtsdk don't allow (at this moment, but it's on the "TODO" list) concurrent access to
|
||||
more than one server, we keep only one opened connection.
|
||||
|
||||
Must be acceses "locked", we can alter cached_api and cached_api_key
|
||||
Must be accesed "locked", so we can safely alter cached_api and cached_api_key
|
||||
'''
|
||||
global cached_api, cached_api_key
|
||||
aKey = self.__getKey('o-host')
|
||||
|
Loading…
Reference in New Issue
Block a user