1👍
I think you can try this.
class TourObject(models.Model):
winning_bet = models.ForeignKey('TourBet', related_name='winning_bet')
Source:stackexchange.com
1👍
I think you can try this.
class TourObject(models.Model):
winning_bet = models.ForeignKey('TourBet', related_name='winning_bet')