Skip to content

Commit

Permalink
retore label
Browse files Browse the repository at this point in the history
  • Loading branch information
FherStk committed Aug 12, 2024
1 parent c6cbea5 commit 663d217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion judge/admin/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def get_formset(self, request, obj=None, **kwargs):

def formfield_for_dbfield(self, db_field, **kwargs):
submission = kwargs.pop('obj', None)
# label = None
label = None
if submission:
if db_field.name == 'participation':
kwargs['queryset'] = ContestParticipation.objects.filter(user=submission.user,
Expand Down

0 comments on commit 663d217

Please sign in to comment.