code: def get_lines(self):
          
          code = []
  
          for counter, item in enumerate(self.model._default_manager.all()):
              instance = InstanceCode(instance=item, id=counter + 1, context=self.context, stdout=self.stdout, stderr=self.stderr, options=self.options)
              self.instances.append(instance)
              if instance.waiting_list:
                  code += instance.lines
  
          # After each instance has been processed, try again.
          # This allows self referencing fields to work.
          for instance in self.instances:
              if instance.waiting_list:
                  code += instance.lines
  
          return code
docs: Return a list of lists or strings, representing the code body.
          Each list is a block, each string is a statement.