from django.db import models


class ParentAward(models.Model):
    award = models.OneToOneField("awards.
Award")
    parent = models.ForeignKey("ParentAward", related_name="children")

    def __unicode__(self):
        return self.award.name


class ParentAward(models.Model):
    award = models.OneToOneField("awards