UI Refactoring and Fix of image issue when adding an image to a quiz

This commit is contained in:
Juhn-Vitus Saß
2025-04-06 19:49:46 +02:00
parent 3f07ce4ec7
commit cf7a2fb8bb
7 changed files with 473 additions and 278 deletions

View File

@@ -43,7 +43,7 @@ class QuizGameParticipant(models.Model):
quiz_game = models.ForeignKey(QuizGame, on_delete=models.CASCADE, related_name="participants")
score = models.IntegerField(verbose_name="Punkte", default=0)
avatar = models.CharField(max_length=200, blank=True, default="")
last_heartbeat = models.DateTimeField(auto_now=True)
last_heartbeat = models.DateTimeField(auto_now_add=True)
last_answer = models.IntegerField(null=True, blank=True)
last_answer_correct = models.BooleanField(null=True, blank=True)