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/d/j/django-contrib-comments-1.5/django_comments/moderation.py   django-contrib-comments(Download)
        """
        signals.comment_will_be_posted.connect(self.pre_save_moderation, sender=django_comments.get_model())
        signals.comment_was_posted.connect(self.post_save_moderation, sender=django_comments.get_model())
 
    def register(self, model_or_iterable, moderation_class):

src/d/j/django-contrib-comments-HEAD/django_comments/moderation.py   django-contrib-comments(Download)
        """
        signals.comment_will_be_posted.connect(self.pre_save_moderation, sender=django_comments.get_model())
        signals.comment_was_posted.connect(self.post_save_moderation, sender=django_comments.get_model())
 
    def register(self, model_or_iterable, moderation_class):