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

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

src/m/a/manabi-HEAD/apps/flashcards/views/api/review.py   manabi(Download)
def hours_until_next_card_due(request, deck=None, tags=None):
    cards = Card.objects.common_filters(request.user,
        deck=deck, tags=tags)
    due_at = cards.next_card_due_at()
    difference = due_at - datetime.datetime.utcnow()
def next_card_due_at(request, deck=None, tags=None):
    '''
    Returns a human-readable format of the next date that the card is due.
    '''
    cards = Card.objects.common_filters(request.user,

src/m/a/manabi-HEAD/apps/flashcards/contextprocessors.py   manabi(Download)
    user = request.user
 
    cards = Card.objects.common_filters(user,
        with_upstream=True, deck=deck)
 

src/m/a/manabi-HEAD/apps/stats/templatetags/stats_tags.py   manabi(Download)
def _overview_stat_counts(user, deck=None):
    cards = Card.objects.common_filters(user,
            deck=deck, with_upstream=True)
 
    context = {

src/m/a/manabi-HEAD/apps/stats/views.py   manabi(Download)
def due_counts(request):
    '''Due per day in future.'''
    series = []
    user = request.user
    user_items = Card.objects.common_filters(user)