[Fixed]-Two Foreign keys issue django

1👍

I think you can try this.

class TourObject(models.Model):
    winning_bet = models.ForeignKey('TourBet', related_name='winning_bet')

Leave a comment