Exemplo n.º 1
0
        def initial_proceedings(self):
            from river.services.proceeding import ProceedingService

            return getattr(self,
                           name) in ProceedingService.get_initial_proceedings(
                               ContentType.objects.get_for_model(self), name)
Exemplo n.º 2
0
        def initial_proceedings(self):
            from river.services.proceeding import ProceedingService

            return self.get_state() in ProceedingService.get_initial_proceedings(ContentType.objects.get_for_model(self))
Exemplo n.º 3
0
        def initial_proceedings(self):
            from river.services.proceeding import ProceedingService

            return getattr(self, name) in ProceedingService.get_initial_proceedings(ContentType.objects.get_for_model(self), name)
Exemplo n.º 4
0
        def initial_proceedings(self):
            from river.services.proceeding import ProceedingService

            return self.get_state(
            ) in ProceedingService.get_initial_proceedings(
                ContentType.objects.get_for_model(self))