analytics/views.py
def get_active_stats(self):
        """
        Returns all of the active statistics for the gadgets currently registered.
        """
        stats = []
        for gadget in self._registry.values():
            for s in gadget.stats:
                if s not in stats:
                    stats.append(s)
        return stats
def get_active_stats(self):
        stats = []
        for gadget in self._registry.values():
            for s in gadget.stats:
                if s not in stats:
                    stats.append(s)
        return stats
def get_active_stats ( self ) : stats = [ ] for gadget in self . _registry . values ( ) : for s in gadget . stats : if s not in stats : stats . append ( s ) return stats
Returns all of the active statistics for the gadgets currently registered.
Returns all of the active statistics for the gadgets currently registered .