Hello ,
I have two models ,
class A(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=200)
type = models.CHarFIeld(max_length=200)
..
..
..
class B(models.Model):
a= models.ForeignKey(A)
state = models.CharField(max_length=200)
now when i am seeing the page of class A i want a link that can show me all the data related to b .
ANy suggestions