docs: def forwards(self, orm):
          "Write your forwards methods here."
          samples = orm['samples.Sample'].objects.select_related('batch__project')
          for sample in samples:
              sample.project = sample.batch.project
              sample.save()