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

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

src/d/y/dycapo-HEAD/rest/management/commands/restifymodels.py   dycapo(Download)
    def restify_participations(self):
        participations = server.models.Participation.objects.filter(href='')
        for participation in participations:
            try:
                participation.href = self.get_href("participation_handler", [participation.trip.id,participation.author.username])