def popular_tags(request):
    tags = ProjectCache.get_popular_tags()

    return {'popular_tags': tags}
예제 #2
0
 def handle(self, *args, **options):
     ProjectCache.update_best_users()
     self.stdout.write('Best users -- cached')
def best_users(request):
    users = ProjectCache.get_best_users()

    return {'best_users': users}
예제 #4
0
def popular_tags(request):
    tags = ProjectCache.get_popular_tags()

    return {"popular_tags": tags}
예제 #5
0
def best_users(request):
    users = ProjectCache.get_best_users()

    return {"best_users": users}
예제 #6
0
 def handle(self, *args, **options):
     ProjectCache.update_popular_tags()
     self.stdout.write('Popular tags -- cached')
예제 #7
0
 def handle(self, *args, **options):
     ProjectCache.update_best_users()
     self.stdout.write('Best users -- cached')
예제 #8
0
 def handle(self, *args, **options):
     ProjectCache.update_popular_tags()
     self.stdout.write('Popular tags -- cached')