title: Parent child relationship in django
body: <p>I have django model which consist of parent child relationship filed</p>
  
  <p>I want to print parent child relation objects which will seperated by dot(.) like, 
  <strong>ParentName.SubparentName.ChildName.subchildName..</strong> etc...</p>
  
  <p>How can i achieve this using recursive technique. </p>
  
  <pre><code> class SomeModel(models.Model)
        parent = models.ForeignKey('self', related_name=childrens).
  </code></pre>