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

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

src/m/a/manabi-HEAD/apps/flashcards/views/rest/__init__.py   manabi(Download)
from apps.utils.querycleaner import clean_query
from flashcards import models
from flashcards.contextprocessors import review_start_context
from flashcards.forms import DeckForm, FactForm, FieldContentForm, CardForm
from flashcards.models import Card
    def get(self, request):
        context = review_start_context(self.request)
        context['owned_by_current_user'] = True
        return self.render_to_response(context)
 
        # add the review-related data.
        if context['owned_by_current_user']:
            context.update(review_start_context(self.request, deck))
        else:
            context['subscription_url'] = reverse(