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

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

src/m/a/manabi-HEAD/apps/flashcards/cacheinvalidators.py   manabi(Download)
from cachenamespaces import deck_review_stats_namespace, fact_grid_namespace
from flashcards.models import Card
from flashcards.signals import (fact_grid_updated,
                                post_card_reviewed, card_active_field_changed,)
from models.fields import FieldContent

src/m/a/manabi-HEAD/apps/flashcards/models/cards.py   manabi(Download)
    def activate(self):
        from flashcards.signals import card_active_field_changed
        self.active = True
        self.save()
        card_active_field_changed.send(self, instance=self)
 
    def deactivate(self):
        from flashcards.signals import card_active_field_changed