@classmethod
    def recent(cls):
        return cls.objects.filter(lastseen__gte=datetime.datetime.utcnow() - datetime.timedelta(0, 5*60))
dataset/ETHPy150Open andrewgodwin/lastgraph/lastgui/models.py/Node.recent/original