title: How can I show model information inside another model? in django
body: <p>So, I have three models , and there are connected with foreign key.
  I'm using list_display on "avaria" , and I want to show the name of the "pavimento" inside of the model "avaria". What is the best options to that?</p>
  
  <pre><code>class pavimento(models.Model):
    pavimento_nome = models.CharField("Pavimento",max_length=200)
  
  class avaria(models.Model):
    avaria_consumidores = models.IntegerField(blank=True,null=True,verbose_name="Consumidores")
  
  
  
  class pavimentacao(models.Model):
  
    pavimentacao_id=models.ForeignKey(avaria,related_name='avariaObjects',on_delete=models.CASCADE)
    pavimentacao_avaria = models.ForeignKey(pavimento,on_delete=models.CASCADE, verbose_name="Pavimento")
  </code></pre>