Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/a/manabi-HEAD/apps/stats/views.py   manabi(Download)
    series = []
    user = request.user
    user_items = CardHistory.objects.of_user(user)
 
    for maturity in ['new', 'young', 'mature']:

src/m/a/manabi-HEAD/apps/reports/views.py   manabi(Download)
    for user in User.objects.filter(is_active=True).order_by('username').iterator():
        users[user] = {}
        user_reviews = CardHistory.objects.of_user(user)
        user_reviews_in_range = user_reviews.filter(reviewed_at__gte=date_range[0], reviewed_at__lte=date_range[1])
        users[user]['reviews'] = user_reviews_in_range