state = models.CharField(max_length=2, choices=STATE, default='0')
name = models.ForeignKey(School)
created_by = models.ForeignKey(profile)


class Meta:
    unique_together = ['title', 'state', 'name']
Django models avoid duplicates