We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 050a2dc + 77ecf7c commit 35025ccCopy full SHA for 35025cc
1 file changed
server/game_dev/models.py
@@ -69,7 +69,7 @@ def __str__(self):
69
70
71
class GameShowcase(models.Model):
72
- game = models.ForeignKey('Game', on_delete=models.CASCADE, related_name='game_showcases')
+ game = models.ForeignKey('Game', on_delete=models.CASCADE, related_name='game_showcases', unique=True)
73
description = models.TextField()
74
75
def __str__(self):
0 commit comments