title: Django - How to create sub entries for each object in Models?
body: <p>Example:</p>
  <pre><code>Item Version S#
  abc1  abc1V   abc1S#
  abc2  abc2V   abc2S#
  </code></pre>
  <p>Model</p>
  <pre><code>class Hw(models.Model):
          item= models.CharField(max_length=30,default='')
          version= models.CharField(max_length=30,default='')
          serianlnumber= models.CharField(max_length=30,default='')
  </code></pre>
  <p>now abc2 item has subitems and it has its subitems in it with their respective Versions and S#s</p>
  <pre><code>Item            Version          S#
  abc2            abc2V            abc2S#
   abc2sub1        abc2sub1V         abc2sub1S# 
     abc2sub_sub1      abc2sub1V         abc2sub1S# 
  abc3            abc3V            abc3S#
  </code></pre>
  <p>How do i create model/table like that or do i need to create different tables for each sub entries ? I could not find any specific documentation on this. Thanks</p>