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/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
        self.active = False
        self.save()
        card_active_field_changed.send(self, instance=self)