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_preferences(self):
        preferences = server.models.Preferences.objects.filter(href='')
        for preference in preferences:
            try:
                preference.href = self.get_href("preferences_handler", [preference.id])