Skip to content

Commit

Permalink
Fix missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Mar 8, 2024
1 parent 1fa8cf3 commit 48e37c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gameserver/models/submission.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from django.db import models
from .cache import UserScore
from django.db.models import Q

class Submission(models.Model):
Expand All @@ -11,7 +12,7 @@ class Submission(models.Model):
related_query_name="submission",
)
problem = models.ForeignKey(
"Problemlem",
"Problem",
on_delete=models.CASCADE,
related_name="submissions",
related_query_name="submission",
Expand Down

0 comments on commit 48e37c8

Please sign in to comment.