def right_list(self): return AssignRemoveView.generate_choices( Group.objects.filter(user=self.get_object()) )
def right_list(self): return AssignRemoveView.generate_choices( self.get_object().document_types.all() )
def left_list(self): return AssignRemoveView.generate_choices( Group.objects.exclude(user=self.get_object()) )
def left_list(self): return AssignRemoveView.generate_choices( self.get_document_queryset().exclude( id__in=self.get_object().document_types.all()))
def left_list(self): return AssignRemoveView.generate_choices( DocumentType.objects.exclude( pk__in=self.get_object().document_types.all() ) )
def right_list(self): return AssignRemoveView.generate_choices( Group.objects.filter(user=self.get_object()))
def right_list(self): return AssignRemoveView.generate_choices( self.get_document_queryset() & self.get_object().document_types.all())
def right_list(self): return AssignRemoveView.generate_choices( self.get_object().user_set.all() )
def left_list(self): return AssignRemoveView.generate_choices( Group.objects.exclude(user=self.get_object()))
def left_list(self): return AssignRemoveView.generate_choices( self.get_object().get_document_types_not_in_workflow())
def left_list(self): return AssignRemoveView.generate_choices( User.objects.exclude( groups=self.get_object() ).exclude(is_staff=True).exclude(is_superuser=True) )
def left_list(self): return AssignRemoveView.generate_choices( DocumentType.objects.exclude( pk__in=self.get_object().document_types.all()))
def left_list(self): return AssignRemoveView.generate_choices( self.get_object().get_document_types_not_in_workflow() )
def left_list(self): return AssignRemoveView.generate_choices( self.get_document_queryset().exclude( id__in=self.get_object().document_types.all() ) )
def right_list(self): return AssignRemoveView.generate_choices( self.get_object().user_set.all())
def left_list(self): return AssignRemoveView.generate_choices( User.objects.exclude(groups=self.get_object()).exclude( is_staff=True).exclude(is_superuser=True))