Write your forwards methods here.

def forwards(self, orm):
        "Write your forwards methods here."

        Project = orm['samples.Project']
        Cohort = orm['samples.Cohort']

        now = datetime.datetime.now()

        # Create default project
        try:
            project = Project.objects.get(name=DEFAULT_PROJECT_NAME)
        except Project.DoesNotExist:
            project = Project(name=DEFAULT_PROJECT_NAME,
                label=DEFAULT_PROJECT_NAME, created=now, modified=now)
            project.save()

        # Create default cohort
        try:
            cohort = Cohort.objects.get(name=DEFAULT_COHORT_NAME)
        except Cohort.DoesNotExist:
            cohort = Cohort(name=DEFAULT_COHORT_NAME, published=True,
                autocreated=True, created=now, modified=now)
            cohort.save()