Lets say I\'ve two models A and B where A has a ManyToOne Relationship with B modelled as shown below:
class A(models.Model): active = models.BooleanField