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

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

src/d/j/django-contrib-comments-1.5/django_comments/views/moderation.py   django-contrib-comments(Download)
        comment = comment,
        user    = request.user,
        flag    = django_comments.models.CommentFlag.SUGGEST_REMOVAL
    )
    signals.comment_was_flagged.send(

src/d/j/django-contrib-comments-HEAD/django_comments/views/moderation.py   django-contrib-comments(Download)
        comment = comment,
        user    = request.user,
        flag    = django_comments.models.CommentFlag.SUGGEST_REMOVAL
    )
    signals.comment_was_flagged.send(

src/d/j/django-contrib-comments-HEAD/tests/testapp/tests/moderation_view_tests.py   django-contrib-comments(Download)
        def receive(sender, **kwargs):
            self.assertEqual(kwargs['flag'].flag, CommentFlag.SUGGEST_REMOVAL)
            self.assertEqual(kwargs['request'].user.username, "normaluser")
            received_signals.append(kwargs.get('signal'))
 

src/d/j/django-bogofilter-0.1/tests/testapp/tests/moderation_view_tests.py   django-bogofilter(Download)
        def receive(sender, **kwargs):
            self.assertEqual(kwargs['flag'].flag, CommentFlag.SUGGEST_REMOVAL)
            self.assertEqual(kwargs['request'].user.username, "normaluser")
            received_signals.append(kwargs.get('signal'))
 

src/d/j/django-contrib-comments-1.5/tests/testapp/tests/moderation_view_tests.py   django-contrib-comments(Download)
        def receive(sender, **kwargs):
            self.assertEqual(kwargs['flag'].flag, CommentFlag.SUGGEST_REMOVAL)
            self.assertEqual(kwargs['request'].user.username, "normaluser")
            received_signals.append(kwargs.get('signal'))