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

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

src/p/o/portfoliyo-HEAD/portfoliyo/sms/hook.py   portfoliyo(Download)
            )
    model.Relationship.objects.create(
        from_profile=signup.family,
        to_profile=student,
        kind=model.Relationship.KIND.elder,
        )
    if not dupe_found:
        model.Relationship.objects.create(
            from_profile=signup.teacher,

src/p/o/portfoliyo-HEAD/portfoliyo/model/users/bulk.py   portfoliyo(Download)
                    name=name, school=teacher.school, invited_by=teacher)
                student_rel = Relationship.objects.create(
                    from_profile=teacher,
                    to_profile=student,
                    level=Relationship.LEVEL.owner,
                    )
                parent_rel = Relationship.objects.create(
                    from_profile=parent,
                    to_profile=student_rel.to_profile,
                    )

src/p/o/portfoliyo-HEAD/portfoliyo/view/village/forms.py   portfoliyo(Download)
 
        rel = model.Relationship.objects.create(
                to_profile=student,
                from_profile=self.elder,
                level=model.Relationship.LEVEL.owner,