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

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

src/d/j/django-dress-blog-HEAD/example/demo/afterload.py   django-dress-blog(Download)
 
    # fix content type for xtdcomments
    for xtdcomment in XtdComment.objects.all():
        if xtdcomment.id in range(1, 11):
            xtdcomment.content_type = diarydetail_ct

src/d/j/django-dress-blog-HEAD/dress_blog/tests/utils.py   django-dress-blog(Download)
 
    # fix content type for xtdcomments
    for xtdcomment in XtdComment.objects.all():
        if xtdcomment.id in range(1, 11):
            xtdcomment.content_type = diarydetail_ct

src/d/j/django-comments-xtd-1.3a1/django_comments_xtd/tests/models.py   django-comments-xtd(Download)
            self.c1, #    1         1          1        0      1 
            self.c2  #    2         2          2        0      1
        ) = XtdComment.objects.all()
 
    def test_threaded_comments_step_1_level_0(self):
            self.c4, #    4         1          1        1      3
            self.c2  #    2         2          2        0      1
        ) = XtdComment.objects.all()
 
    def test_threaded_comments_step_2_level_0(self):
            self.c2, #    2         2          2        0      1
            self.c5  #    5         2          2        1      2
        ) = XtdComment.objects.all()
 
    def test_threaded_comments_step_3_level_0(self):
            self.c5, #    5         2          2        1      2
            self.c6  #    6         2          5        2      3
        ) = XtdComment.objects.all()
 
    def test_threaded_comments_step_4_level_0(self):
            self.c6, #    6         2          5        2      3
            self.c9  #    9         9          9        0      1
        ) = XtdComment.objects.all()
 
    def test_threaded_comments_step_5_level_0(self):