Did I find the right examples for you? yes no

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

src/c/r/crate.web-HEAD/crate/web/lists/views.py   crate.web(Download)
    def get_list(self, list, user):
        return next(iter(List.objects.filter(name=list, user=user)[:1]), None)
 
    def get_message(self):
        return _("Successfully added %(package)s to %(list)s.") % self.kwargs