from django.db import models

# Create your models here.

@@ -27,31 +27,1327 @@
 ls%0A%0A
-# Create your models here.
+%0Aclass SkillTree(models.Model):%0A    name = models.CharField(max_length=128, blank=False)%0A%0A    def __unicode__(self):%0A        return self.name%0A%0A%0Aclass SkillTreeBranch(models.Model):%0A    name = models.CharField(max_length=128, blank=False)%0A    skill_tree = models.ForeignKey(SkillTree)%0A%0A    def __unicode__(self):%0A        return self.name%0A%0A%0Aclass SkillTier(models.Model):%0A    depth = models.IntegerField(blank=False)%0A    point_req = models.IntegerField(blank=True, default=1)%0A    other_req = models.CharField(max_length=128, blank=True, null=True)%0A    skill_tree_branch = models.ForeignKey(SkillTreeBranch)%0A%0A    def __unicode__(self):%0A        return %22Tier %7B0%7D%22.format(self.depth)%0A%0A%0Aclass Skill(models.Model):%0A    name = models.CharField(max_length=128, blank=False)%0A    text = models.CharField(max_length=255, blank=False)%0A    skill_tier = models.ForeignKey(SkillTier)%0A%0A    def __unicode__(self):%0A        return self.name%0A%0A%0Aclass SkillLevel(models.Model):%0A    level = models.IntegerField(blank=True, default=1)%0A    text = models.CharField(max_length=255, blank=False)%0A    point_req = models.IntegerField(blank=True, default=1)%0A    other_req = models.CharField(max_length=128, blank=True, null=True)%0A    skill = models.ForeignKey(Skill)%0A%0A    def __unicode__(self):%0A        return %22%7B0%7D %7B1%7D%22.format(self.skill.name, self.level)
 %0A

add models