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/popups/views.py   manabi(Download)
def deck_chooser(request):
    '''Create a deck, or choose a deck to add cards to.'''
    context = {
        'deck_list': Deck.objects.of_user(request.user),
    }

src/m/a/manabi-HEAD/apps/flashcards/contextprocessors.py   manabi(Download)
    ctx = {}
    if request.user.is_authenticated():
        decks = Deck.objects.of_user(request.user)
        cards = Card.objects.of_user(request.user, with_upstream=True)
        ctx = {